wok-current view speedtouch/receipt @ rev 18087

Up: tazpanel (499)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 17:21:51 2015 +0300 (2015-05-23)
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 }