wok-stable annotate wvdial/receipt @ rev 3221
Add: linuxqq and chinese font
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Wed May 27 12:47:59 2009 +0800 (2009-05-27) |
parents | |
children | 35ec83c60e58 |
rev | line source |
---|---|
domcox@2665 | 1 # SliTaz package receipt. |
domcox@2665 | 2 |
domcox@2665 | 3 PACKAGE="wvdial" |
domcox@2665 | 4 VERSION="1.41" |
domcox@2665 | 5 CATEGORY="network" |
domcox@2665 | 6 SHORT_DESC="makes modem-based connection to Internet" |
domcox@2665 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@2665 | 8 DEPENDS="ppp" |
domcox@2665 | 9 TARBALL=$PACKAGE"_"$VERSION".tar.gz" |
domcox@2665 | 10 WEB_SITE="http://alumnit.ca/wiki/?WvDial" |
domcox@2665 | 11 WGET_URL="http://archive.debian.org/debian/dists/potato/main/source/comm/$TARBALL" |
domcox@2665 | 12 |
domcox@2665 | 13 # Rules to configure and make the package. |
domcox@2665 | 14 compile_rules() |
domcox@2665 | 15 { |
domcox@2665 | 16 cd $src |
domcox@2665 | 17 ! grep -q DESTDIR Makefile && patch -p1 < ../stuff/wvdial-1.41-gcc4.2.diff |
domcox@2665 | 18 make && make DESTDIR=$PWD/_pkg install |
domcox@2665 | 19 } |
domcox@2665 | 20 |
domcox@2665 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@2665 | 22 genpkg_rules() |
domcox@2665 | 23 { |
domcox@2665 | 24 mkdir -p $fs/usr/bin |
domcox@2665 | 25 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin |
domcox@2665 | 26 cp -a $_pkg/etc $fs |
domcox@2665 | 27 } |
domcox@2665 | 28 |
domcox@2665 | 29 post_remove() |
domcox@2665 | 30 { |
domcox@2665 | 31 rm -rf /etc/ppp/peers/wvdial |
domcox@2665 | 32 } |