wok-current annotate xorg-xinput/receipt @ rev 25669
Add rdfind, required for firmware build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 20:53:40 2024 +0000 (5 months ago) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-xinput" |
Hans-G?nter@23777 | 4 VERSION="1.6.3" |
pankso@3019 | 5 CATEGORY="x-window" |
pankso@3019 | 6 SHORT_DESC="X input utility (MPX support)." |
pankso@3019 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@23777 | 9 WEB_SITE="https://www.x.org/" |
Hans-G?nter@23777 | 10 |
pankso@3019 | 11 SOURCE="xinput" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 14 |
pankso@12521 | 15 DEPENDS="xorg-libXi" |
shann@25590 | 16 BUILD_DEPENDS="xorg-libXi-dev xorg-libXrandr-dev xorg-libXinerama-dev" |
pankso@12521 | 17 |
Hans-G?nter@23777 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@23777 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@3019 | 26 # Rules to configure and make the package. |
pankso@3019 | 27 compile_rules() |
pankso@3019 | 28 { |
Hans-G?nter@23777 | 29 ./configure \ |
Hans-G?nter@23777 | 30 --mandir=/usr/share/man \ |
pankso@12521 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@23777 | 32 make && |
Hans-G?nter@23777 | 33 make install |
pankso@3019 | 34 } |
pankso@3019 | 35 |
pankso@3019 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 37 genpkg_rules() |
pankso@3019 | 38 { |
pankso@3019 | 39 mkdir -p $fs/usr |
Hans-G?nter@23777 | 40 cp -a $install/usr/bin $fs/usr |
pankso@3019 | 41 } |