wok-stable annotate input-utils/receipt @ rev 2259
Add squirrelmail-spamassassin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 22:54:18 2009 +0000 (2009-02-15) |
parents | |
children | b4953d9f7b87 |
rev | line source |
---|---|
domcox@1901 | 1 # SliTaz package receipt. |
domcox@1901 | 2 |
domcox@1901 | 3 PACKAGE="input-utils" |
domcox@1901 | 4 VERSION="20081014-101501" |
domcox@1901 | 5 CATEGORY="system-tools" |
domcox@1901 | 6 SHORT_DESC="Small collection of linux input layer tools" |
domcox@1901 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1901 | 8 DEPENDS="" |
domcox@1901 | 9 SOURCE="input" |
domcox@1901 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@1901 | 11 WEB_SITE="http://dl.bytesex.org/cvs-snapshots/" |
domcox@1901 | 12 WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL" |
domcox@1901 | 13 |
domcox@1901 | 14 # Rules to configure and make the package. |
domcox@1901 | 15 compile_rules() |
domcox@1901 | 16 { |
domcox@1901 | 17 src=$WOK/$PACKAGE/$SOURCE |
domcox@1901 | 18 cd $src |
domcox@1901 | 19 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile |
domcox@1901 | 20 prefix="/usr" |
domcox@1901 | 21 CFLAGS="$CFLAGS -O3 -march=i486" |
domcox@1901 | 22 echo $CFLAGS |
domcox@1901 | 23 export prefix CFLAGS |
domcox@1901 | 24 make && make DESTDIR=$PWD/_pkg install |
domcox@1901 | 25 } |
domcox@1901 | 26 |
domcox@1901 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1901 | 28 genpkg_rules() |
domcox@1901 | 29 { |
domcox@1901 | 30 mkdir -p $fs/usr |
domcox@1901 | 31 cp -a $WOK/$PACKAGE/$SOURCE/_pkg/usr/bin $fs/usr |
domcox@1901 | 32 } |
domcox@1901 | 33 |