wok-6.x view speedtouch/receipt @ rev 19832
Up apulse (0.1.8+ae3ea44)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Mar 10 20:46:32 2017 +0100 (2017-03-10) |
parents | b7319995b37e |
children | e919c5a2742d |
line source
1 # SliTaz package receipt.
3 PACKAGE="speedtouch"
4 VERSION="1.3.1"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Driver for the ADSL Speed Touch USB modem"
9 WEB_SITE="http://speedtouch.sourceforge.net/"
10 DEPENDS="bash"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 while read file; do
20 [ -f done.$file ] && continue
21 echo "Apply $file..."
22 patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1
23 touch done.$file
24 done <<EOT
25 gcc4.u
26 EOT
27 ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make prefix=$DESTDIR/usr sysconfdir=$DESTDIR/etc mandir=$DESTDIR/usr/share/man install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/etc $fs
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 }