wok diff speedtouch/receipt @ rev 8905

Up: fluxbox to 1.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 28 02:05:51 2011 +0000 (2011-02-28)
parents
children 940b5937e496
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/speedtouch/receipt	Mon Feb 28 02:05:51 2011 +0000
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="speedtouch"
     1.7 +VERSION="1.3.1"
     1.8 +CATEGORY="misc"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="Driver for the ADSL Speed Touch USB modem"
    1.11 +WEB_SITE="http://speedtouch.sourceforge.net/"
    1.12 +DEPENDS="bash"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +
    1.19 +compile_rules() {
    1.20 +  cd $src
    1.21 +  while read file; do
    1.22 +    	[ -f done.$file ] && continue
    1.23 +    	echo "Apply $file..."
    1.24 +    	patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1
    1.25 +	touch done.$file
    1.26 +    done <<EOT
    1.27 +	gcc4.u
    1.28 +EOT
    1.29 +   ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man &&
    1.30 +  make &&
    1.31 +  make prefix=$PWD/_pkg/usr sysconfdir=$PWD/_pkg/etc mandir=$PWD/_pkg/usr/share/man install 
    1.32 +}
    1.33 +	
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/share
    1.38 +	cp -a $_pkg/usr/bin $fs/usr
    1.39 +	cp -a $_pkg/usr/sbin $fs/usr
    1.40 +	cp -a $_pkg/etc $fs
    1.41 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share	
    1.42 +}