wok-4.x view speedtouch/receipt @ rev 10461

python-formencode: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 11:27:37 2011 +0200 (2011-05-25)
parents 190fae531539
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="speedtouch"
4 VERSION="1.3.1"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Driver for the ADSL Speed Touch USB modem"
8 WEB_SITE="http://speedtouch.sourceforge.net/"
9 DEPENDS="bash"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
18 while read file; do
19 [ -f done.$file ] && continue
20 echo "Apply $file..."
21 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
22 touch done.$file
23 done <<EOT
24 gcc4.u
25 EOT
26 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man &&
27 make &&
28 make prefix=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
39 }