wok view input-utils/receipt @ rev 10962
Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 10:22:35 2011 +0000 (2011-09-20) |
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 }