wok-next annotate input-utils/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | e1c0edabdcb2 |
children |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
domcox@1901 | 9 WEB_SITE="http://dl.bytesex.org/cvs-snapshots/" |
al@20473 | 10 |
al@20473 | 11 TARBALL="input-$VERSION.tar.gz" |
domcox@1901 | 12 WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL" |
domcox@1901 | 13 |
al@20473 | 14 compile_rules() { |
domcox@1901 | 15 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile |
domcox@1901 | 16 prefix="/usr" |
al@20473 | 17 |
al@20473 | 18 case $ARCH in |
al@20473 | 19 x86_64) CFLAGS="$CFLAGS -O3 -march=nocona";; |
al@20473 | 20 *) CFLAGS="$CFLAGS -O3 -march=$ARCH";; |
al@20473 | 21 esac |
al@20473 | 22 |
domcox@1901 | 23 export prefix CFLAGS |
al@21020 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
domcox@1901 | 26 } |
domcox@1901 | 27 |
al@20473 | 28 genpkg_rules() { |
al@20473 | 29 copy @std |
al@20473 | 30 TAGS="kernel input utilities" |
domcox@1901 | 31 } |