wok annotate xorg-xev/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 5c95c69d6518 |
children |
rev | line source |
---|---|
jozee@3025 | 1 # SliTaz package receipt. |
jozee@3025 | 2 |
jozee@3025 | 3 PACKAGE="xorg-xev" |
Hans-G?nter@22256 | 4 VERSION="1.2.3" |
jozee@3025 | 5 CATEGORY="x-window" |
Hans-G?nter@22256 | 6 TAGS="utility xorg debug" |
Hans-G?nter@22256 | 7 SHORT_DESC="Print contents of x-server events." |
jozee@3025 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22256 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22256 | 11 |
jozee@3025 | 12 SOURCE="xev" |
jozee@3025 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22256 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
jozee@3025 | 15 |
pascal@15579 | 16 DEPENDS="xorg-libX11" |
pascal@15579 | 17 BUILD_DEPENDS="xorg-libX11-dev" |
pascal@15579 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
jozee@3025 | 25 # Rules to configure and make the package.ls sr |
jozee@3025 | 26 compile_rules() |
jozee@3025 | 27 { |
Hans-G?nter@22256 | 28 ./configure \ |
Hans-G?nter@22256 | 29 --prefix=/usr \ |
Hans-G?nter@22256 | 30 --mandir=/usr/share/man \ |
jozee@3025 | 31 $CONFIGURE_ARGS && |
jozee@3025 | 32 make && |
pascal@15579 | 33 make DESTDIR=$DESTDIR install |
jozee@3025 | 34 } |
jozee@3025 | 35 |
jozee@3025 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3025 | 37 genpkg_rules() |
jozee@3025 | 38 { |
jozee@3025 | 39 mkdir -p $fs/usr |
Hans-G?nter@22256 | 40 cp -a $install/usr/bin $fs/usr |
jozee@3025 | 41 } |