wok-4.x diff wvdial/receipt @ rev 4629
Up icmptx (0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 09:13:25 2009 +0100 (2009-12-21) |
parents | |
children | 35ec83c60e58 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wvdial/receipt Mon Dec 21 09:13:25 2009 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wvdial" 1.7 +VERSION="1.41" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="makes modem-based connection to Internet" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="ppp" 1.12 +TARBALL=$PACKAGE"_"$VERSION".tar.gz" 1.13 +WEB_SITE="http://alumnit.ca/wiki/?WvDial" 1.14 +WGET_URL="http://archive.debian.org/debian/dists/potato/main/source/comm/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ! grep -q DESTDIR Makefile && patch -p1 < ../stuff/wvdial-1.41-gcc4.2.diff 1.21 + make && make DESTDIR=$PWD/_pkg install 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/bin 1.28 + cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin 1.29 + cp -a $_pkg/etc $fs 1.30 +} 1.31 + 1.32 +post_remove() 1.33 +{ 1.34 + rm -rf /etc/ppp/peers/wvdial 1.35 +}