SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wvdial"

# SliTaz package receipt.

PACKAGE="wvdial"
VERSION="1.61"
CATEGORY="network"
SHORT_DESC="makes modem-based connection to Internet"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20110504183753/http://alumnit.ca:80/wiki/index.php?page=WvDial"
WGET_URL="http://repository.timesys.com/buildsources/w/wvdial/wvdial-$VERSION/$TARBALL"
TAGS="network 3G"

DEPENDS="ppp gcc-lib-base wvstreams"
BUILD_DEPENDS="wvstreams-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://en.wikipedia.org/wiki/WvDial 2>/dev/null | \
    sed '/Stable release/!d;s|.*">||'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
     ./configure &&
    make -j1 && 
    make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $install/usr/bin/wvdial* $fs/usr/bin
    cp -a $install/etc $fs
}

post_remove()
{
    rm -rf /etc/ppp/peers/wvdial
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)