wok annotate xorg-xrandr/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 70ff29686266
children
rev   line source
pankso@3019 1 # SliTaz package receipt.
pankso@3019 2
pankso@3019 3 PACKAGE="xorg-xrandr"
Hans-G?nter@22298 4 VERSION="1.5.1"
pankso@3019 5 CATEGORY="x-window"
Hans-G?nter@22298 6 SHORT_DESC="X application to show system resources usage."
pankso@3019 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22298 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22298 10
pankso@3019 11 SOURCE="xrandr"
Hans-G?nter@22298 12 TARBALL="$SOURCE-$VERSION.tar.xz"
pankso@3019 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pankso@3019 14
pankso@9666 15 DEPENDS="xorg-libXrandr"
pankso@9666 16 BUILD_DEPENDS="xorg-libXrandr-dev"
pankso@9666 17
Hans-G?nter@22298 18 HOST_ARCH="i486 arm"
Hans-G?nter@22298 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 {
slaxemulator@10057 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22298 30 make &&
Hans-G?nter@22298 31 make install
pankso@3019 32 }
pankso@3019 33
pankso@3019 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3019 35 genpkg_rules()
pankso@3019 36 {
pankso@3019 37 mkdir -p $fs/usr
Hans-G?nter@22298 38 cp -a $install/usr/bin $fs/usr
pankso@3019 39 }