# SliTaz package receipt. PACKAGE="wvdial" VERSION="1.61" CATEGORY="network" SHORT_DESC="makes modem-based connection to Internet" MAINTAINER="jozee@slitaz.org" DEPENDS="ppp gcc-lib-base wvstreams" BUILD_DEPENDS="wvstreams-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://wvstreams.googlecode.com/" WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" TAGS="network 3g" # Rules to configure and make the package. compile_rules() { cd $src ./configure && make -j1 && make -j1 prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin cp -a $_pkg/etc $fs } post_remove() { rm -rf /etc/ppp/peers/wvdial }