wok-current annotate speedtouch/receipt @ rev 11633
Up shaarli (0.0.37beta)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 02 00:06:39 2012 +0100 (2012-02-02) |
parents | 940b5937e496 |
children | 600aaedb561d |
rev | line source |
---|---|
jozee@4591 | 1 # SliTaz package receipt. |
jozee@4591 | 2 |
jozee@4591 | 3 PACKAGE="speedtouch" |
jozee@4591 | 4 VERSION="1.3.1" |
jozee@4591 | 5 CATEGORY="misc" |
jozee@4591 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4591 | 7 SHORT_DESC="Driver for the ADSL Speed Touch USB modem" |
jozee@4591 | 8 WEB_SITE="http://speedtouch.sourceforge.net/" |
jozee@4591 | 9 DEPENDS="bash" |
jozee@4591 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4591 | 12 |
jozee@4591 | 13 |
jozee@4591 | 14 # Rules to configure and make the package. |
jozee@4591 | 15 |
jozee@4591 | 16 compile_rules() { |
jozee@4591 | 17 cd $src |
jozee@4591 | 18 while read file; do |
jozee@4591 | 19 [ -f done.$file ] && continue |
jozee@4591 | 20 echo "Apply $file..." |
pascal@8974 | 21 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 |
jozee@4591 | 22 touch done.$file |
jozee@4591 | 23 done <<EOT |
jozee@4591 | 24 gcc4.u |
jozee@4591 | 25 EOT |
gokhlayeh@11573 | 26 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ |
gokhlayeh@11573 | 27 $CONFIGURE_ARGS && |
jozee@4591 | 28 make && |
gokhlayeh@11573 | 29 make prefix=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install |
jozee@4591 | 30 } |
jozee@4591 | 31 |
jozee@4591 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4591 | 33 genpkg_rules() |
jozee@4591 | 34 { |
jozee@4591 | 35 mkdir -p $fs/usr/share |
jozee@4591 | 36 cp -a $_pkg/usr/bin $fs/usr |
jozee@4591 | 37 cp -a $_pkg/usr/sbin $fs/usr |
jozee@4591 | 38 cp -a $_pkg/etc $fs |
jozee@4591 | 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@4591 | 40 } |