wok-6.x view speedtouch/receipt @ rev 12965
Up: slitaz-base-files (5.2.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 01 08:32:45 2012 +0200 (2012-06-01) |
parents | 940b5937e496 |
children | 600aaedb561d |
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 $CONFIGURE_ARGS &&
28 make &&
29 make prefix=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
40 }