wok view input-utils/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 8437ad3ae814
children f94b55b6f9d0
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 LICENSE="GPL2"
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 DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
22 prefix="/usr"
23 CFLAGS="$CFLAGS -O3 -march=$ARCH"
24 export prefix CFLAGS
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }