wok annotate input-utils/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents f94b55b6f9d0
children
rev   line source
domcox@1901 1 # SliTaz package receipt.
domcox@1901 2
domcox@1901 3 PACKAGE="input-utils"
Hans-G?nter@21051 4 VERSION="1.3"
domcox@1901 5 CATEGORY="system-tools"
Hans-G?nter@21051 6 TAGS="kernel input utilities"
Hans-G?nter@21051 7 SHORT_DESC="Small collection of linux input layer tools."
pascal@13025 8 MAINTAINER="domcox@slitaz.org"
pascal@15001 9 LICENSE="GPL2"
Hans-G?nter@21051 10 WEB_SITE="https://www.kraxel.org/blog/linux/input/"
Hans-G?nter@21051 11
domcox@1901 12 SOURCE="input"
domcox@1901 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21051 14 WGET_URL="https://www.kraxel.org/releases/$SOURCE/$TARBALL"
domcox@1901 15
pascal@15001 16 DEPENDS=""
pascal@15001 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - https://git.kraxel.org/cgit/input/ 2>/dev/null | \
pascal@24445 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 23 }
pascal@24445 24
domcox@1901 25 # Rules to configure and make the package.
domcox@1901 26 compile_rules()
domcox@1901 27 {
Hans-G?nter@21051 28 patch --input $stuff/remove-target-lircd.conf.patch GNUmakefile
Hans-G?nter@21051 29
Hans-G?nter@21051 30 export prefix="/usr"
Hans-G?nter@21051 31 export CFLAGS="$CFLAGS -O3 -march=$ARCH"
Hans-G?nter@21051 32
Hans-G?nter@21051 33 make -j 1 &&
Hans-G?nter@21051 34 make DESTDIR=$DESTDIR install
domcox@1901 35 }
domcox@1901 36
domcox@1901 37 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1901 38 genpkg_rules()
domcox@1901 39 {
domcox@1901 40 mkdir -p $fs/usr
pascal@13878 41 cp -a $install/usr/bin $fs/usr
domcox@1901 42 }