wok annotate input-utils/receipt @ rev 19538

linld: add 'linld <kernel> <cmdline>' syntax
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 12:37:59 2016 +0100 (2016-12-02)
parents 8437ad3ae814
children f94b55b6f9d0
rev   line source
domcox@1901 1 # SliTaz package receipt.
domcox@1901 2
domcox@1901 3 PACKAGE="input-utils"
domcox@1901 4 VERSION="20081014-101501"
domcox@1901 5 CATEGORY="system-tools"
domcox@1901 6 SHORT_DESC="Small collection of linux input layer tools"
pascal@13025 7 MAINTAINER="domcox@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
domcox@1901 9 SOURCE="input"
domcox@1901 10 TARBALL="$SOURCE-$VERSION.tar.gz"
domcox@1901 11 WEB_SITE="http://dl.bytesex.org/cvs-snapshots/"
domcox@1901 12 WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL"
domcox@6096 13 TAGS="kernel input utilities"
domcox@1901 14
pascal@15001 15 DEPENDS=""
pascal@15001 16
domcox@1901 17 # Rules to configure and make the package.
domcox@1901 18 compile_rules()
domcox@1901 19 {
domcox@1901 20 cd $src
domcox@1901 21 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
domcox@1901 22 prefix="/usr"
pascal@13878 23 CFLAGS="$CFLAGS -O3 -march=$ARCH"
domcox@1901 24 export prefix CFLAGS
pascal@13878 25 make && make DESTDIR=$DESTDIR install
domcox@1901 26 }
domcox@1901 27
domcox@1901 28 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1901 29 genpkg_rules()
domcox@1901 30 {
domcox@1901 31 mkdir -p $fs/usr
pascal@13878 32 cp -a $install/usr/bin $fs/usr
domcox@1901 33 }
domcox@1901 34