wok-6.x rev 21051

updated input-utils (20081014 -> 1.3)
author Hans-G?nter Theisgen
date Wed Mar 13 13:59:18 2019 +0100 (2019-03-13)
parents 505b1193ddc4
children 10c3a6f71c06
files input-utils/receipt input-utils/stuff/remove-target-lircd.conf.patch
line diff
     1.1 --- a/input-utils/receipt	Tue Mar 12 17:15:55 2019 +0100
     1.2 +++ b/input-utils/receipt	Wed Mar 13 13:59:18 2019 +0100
     1.3 @@ -1,28 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="input-utils"
     1.7 -VERSION="20081014-101501"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Small collection of linux input layer tools"
    1.11 +TAGS="kernel input utilities"
    1.12 +SHORT_DESC="Small collection of linux input layer tools."
    1.13  MAINTAINER="domcox@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://www.kraxel.org/blog/linux/input/"
    1.16 +
    1.17  SOURCE="input"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="http://dl.bytesex.org/cvs-snapshots/"
    1.20 -WGET_URL="http://dl.bytesex.org/cvs-snapshots/$TARBALL"
    1.21 -TAGS="kernel input utilities"
    1.22 +WGET_URL="https://www.kraxel.org/releases/$SOURCE/$TARBALL"
    1.23  
    1.24  DEPENDS=""
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
    1.31 -	prefix="/usr"
    1.32 -	CFLAGS="$CFLAGS -O3 -march=$ARCH"
    1.33 -	export prefix CFLAGS
    1.34 -	make && make DESTDIR=$DESTDIR install
    1.35 +	patch --input $stuff/remove-target-lircd.conf.patch GNUmakefile
    1.36 +
    1.37 +	export	prefix="/usr"
    1.38 +	export	CFLAGS="$CFLAGS -O3 -march=$ARCH"
    1.39 +
    1.40 +	make -j 1 &&
    1.41 +	make DESTDIR=$DESTDIR install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 @@ -31,4 +33,3 @@
    1.46  	mkdir -p $fs/usr
    1.47  	cp -a $install/usr/bin $fs/usr
    1.48  }
    1.49 -
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/input-utils/stuff/remove-target-lircd.conf.patch	Wed Mar 13 13:59:18 2019 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- GNUmakefile.slitaz	2017-02-22 10:45:30.000000000 +0100
     2.5 ++++ GNUmakefile	2019-03-13 13:44:54.492590684 +0100
     2.6 +@@ -7,7 +7,7 @@ CFLAGS	+= -DVERSION='"$(VERSION)"'
     2.7 + 
     2.8 + # build
     2.9 + TARGETS	:= input-events input-kbd input-send input-recv
    2.10 +-TARGETS	+= lsinput emulate-key lircd.conf
    2.11 ++TARGETS	+= lsinput input-recv
    2.12 + HEADERS	:= EV.h REL.h ABS.h MSC.h LED.h SND.h REP.h KEY.h BTN.h BUS.h SW.h
    2.13 + 
    2.14 + # default target