# HG changeset patch # User Dominique Corbex # Date 1229796791 -3600 # Node ID 0c66ef3b8a5806553a97578560fa4e2b6eefe1a4 # Parent 08e389ea2b326d071fc6485fb2b2c41e6e9be6b2 Add: input-utils (input layer tools) diff -r 08e389ea2b32 -r 0c66ef3b8a58 input-utils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/input-utils/receipt Sat Dec 20 19:13:11 2008 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="input-utils" +VERSION="20081014-101501" +CATEGORY="system-tools" +SHORT_DESC="Small collection of linux input layer tools" +MAINTAINER="domcox@users.sourceforge.net" +DEPENDS="" +SOURCE="input" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://dl.bytesex.org/cvs-snapshots/" +WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + src=$WOK/$PACKAGE/$SOURCE + cd $src + sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile + prefix="/usr" + CFLAGS="$CFLAGS -O3 -march=i486" +echo $CFLAGS + export prefix CFLAGS + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $WOK/$PACKAGE/$SOURCE/_pkg/usr/bin $fs/usr +} +