wok-4.x diff input-utils/receipt @ rev 2004

Up: sakura (2.3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 08 20:25:10 2009 +0100 (2009-01-08)
parents
children b4953d9f7b87
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/input-utils/receipt	Thu Jan 08 20:25:10 2009 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="input-utils"
     1.7 +VERSION="20081014-101501"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Small collection of linux input layer tools"
    1.10 +MAINTAINER="domcox@users.sourceforge.net"
    1.11 +DEPENDS=""
    1.12 +SOURCE="input"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://dl.bytesex.org/cvs-snapshots/"
    1.15 +WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src=$WOK/$PACKAGE/$SOURCE
    1.21 +	cd $src
    1.22 +	sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
    1.23 +	prefix="/usr"
    1.24 +	CFLAGS="$CFLAGS -O3 -march=i486"
    1.25 +echo $CFLAGS
    1.26 +	export prefix CFLAGS
    1.27 +	make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $WOK/$PACKAGE/$SOURCE/_pkg/usr/bin $fs/usr
    1.35 +}
    1.36 +