wok-6.x view input-utils/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 8387b6915400 |
children | 408c87fa22ca |
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@slitaz.org"
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"
13 TAGS="kernel input utilities"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
20 prefix="/usr"
21 CFLAGS="$CFLAGS -O3 -march=$ARCH"
22 export prefix CFLAGS
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }