wok-6.x view input-utils/receipt @ rev 2134

Add erlang
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 03 11:36:12 2009 +0000 (2009-02-03)
parents
children b4953d9f7b87
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 echo $CFLAGS
23 export prefix CFLAGS
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $WOK/$PACKAGE/$SOURCE/_pkg/usr/bin $fs/usr
32 }