wok-current view input-utils/receipt @ rev 11486
sdcc: add flex as build_depend
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:02:00 2011 +0100 (2011-12-18) |
parents | 805d7c16ae38 |
children | 8387b6915400 |
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"
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=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 $_pkg/usr/bin $fs/usr
31 }