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