wok annotate speedtouch/receipt @ rev 19104
firefox-official-*: provides browser-html5 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 04 15:39:12 2016 +0200 (2016-05-04) |
parents | b7319995b37e |
children | e919c5a2742d |
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" |
pascal@15590 | 7 LICENSE="GPL2" |
jozee@4591 | 8 SHORT_DESC="Driver for the ADSL Speed Touch USB modem" |
jozee@4591 | 9 WEB_SITE="http://speedtouch.sourceforge.net/" |
jozee@4591 | 10 DEPENDS="bash" |
jozee@4591 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4591 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4591 | 13 |
jozee@4591 | 14 |
jozee@4591 | 15 # Rules to configure and make the package. |
jozee@4591 | 16 |
jozee@4591 | 17 compile_rules() { |
jozee@4591 | 18 cd $src |
jozee@4591 | 19 while read file; do |
jozee@4591 | 20 [ -f done.$file ] && continue |
jozee@4591 | 21 echo "Apply $file..." |
pascal@8974 | 22 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 |
jozee@4591 | 23 touch done.$file |
jozee@4591 | 24 done <<EOT |
jozee@4591 | 25 gcc4.u |
jozee@4591 | 26 EOT |
gokhlayeh@11573 | 27 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ |
gokhlayeh@11573 | 28 $CONFIGURE_ARGS && |
jozee@4591 | 29 make && |
pascal@15590 | 30 make prefix=$DESTDIR/usr sysconfdir=$DESTDIR/etc mandir=$DESTDIR/usr/share/man install |
jozee@4591 | 31 } |
jozee@4591 | 32 |
jozee@4591 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4591 | 34 genpkg_rules() |
jozee@4591 | 35 { |
jozee@4591 | 36 mkdir -p $fs/usr/share |
pascal@15590 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@15590 | 39 cp -a $install/etc $fs |
pascal@15590 | 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
jozee@4591 | 41 } |