wok-4.x view wvdial/receipt @ rev 3385

Ren: pygments -> python-pygments
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 23:12:24 2009 +0000 (2009-06-11)
parents
children 35ec83c60e58
line source
1 # SliTaz package receipt.
3 PACKAGE="wvdial"
4 VERSION="1.41"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="ppp"
9 TARBALL=$PACKAGE"_"$VERSION".tar.gz"
10 WEB_SITE="http://alumnit.ca/wiki/?WvDial"
11 WGET_URL="http://archive.debian.org/debian/dists/potato/main/source/comm/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ! grep -q DESTDIR Makefile && patch -p1 < ../stuff/wvdial-1.41-gcc4.2.diff
18 make && make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
26 cp -a $_pkg/etc $fs
27 }
29 post_remove()
30 {
31 rm -rf /etc/ppp/peers/wvdial
32 }