wok-next diff input-utils/receipt @ rev 20916
libopenraw, abiword: update deps; boost: pack unpacked libs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 05:42:25 2018 +0300 (2018-08-21) |
parents | 408c87fa22ca |
children | d5aab818505e |
line diff
1.1 --- a/input-utils/receipt Sat Aug 10 17:48:05 2013 +0000 1.2 +++ b/input-utils/receipt Tue Aug 21 05:42:25 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="input-utils" 1.8 VERSION="20081014-101501" 1.9 @@ -6,29 +6,25 @@ 1.10 SHORT_DESC="Small collection of linux input layer tools" 1.11 MAINTAINER="domcox@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -SOURCE="input" 1.14 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 WEB_SITE="http://dl.bytesex.org/cvs-snapshots/" 1.16 + 1.17 +TARBALL="input-$VERSION.tar.gz" 1.18 WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL" 1.19 -TAGS="kernel input utilities" 1.20 1.21 -DEPENDS="" 1.22 - 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 +compile_rules() { 1.28 sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile 1.29 prefix="/usr" 1.30 - CFLAGS="$CFLAGS -O3 -march=$ARCH" 1.31 + 1.32 + case $ARCH in 1.33 + x86_64) CFLAGS="$CFLAGS -O3 -march=nocona";; 1.34 + *) CFLAGS="$CFLAGS -O3 -march=$ARCH";; 1.35 + esac 1.36 + 1.37 export prefix CFLAGS 1.38 make && make DESTDIR=$DESTDIR install 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr 1.45 - cp -a $install/usr/bin $fs/usr 1.46 +genpkg_rules() { 1.47 + copy @std 1.48 + TAGS="kernel input utilities" 1.49 } 1.50 -