wok annotate xorg-xprop/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents c57f4d20a595
children
rev   line source
pankso@3019 1 # SliTaz package receipt.
pankso@3019 2
pankso@3019 3 PACKAGE="xorg-xprop"
Hans-G?nter@22297 4 VERSION="1.2.4"
pankso@3019 5 CATEGORY="x-window"
pankso@3019 6 SHORT_DESC="X xprop application."
pankso@3019 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22297 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22297 10
pankso@3019 11 SOURCE="xprop"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@3019 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pankso@3019 14
pascal@15579 15 DEPENDS="xorg-libX11"
pascal@15579 16 BUILD_DEPENDS="xorg-libX11-dev"
pascal@15579 17
Hans-G?nter@22297 18 HOST_ARCH="i486 arm"
Hans-G?nter@22297 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@22297 29 ./configure \
pankso@16329 30 $CONFIGURE_ARGS &&
Hans-G?nter@22297 31 make &&
Hans-G?nter@22297 32 make install
pankso@3019 33 }
pankso@3019 34
pankso@3019 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3019 36 genpkg_rules()
pankso@3019 37 {
pankso@3019 38 mkdir -p $fs/usr
Hans-G?nter@22297 39 cp -a $install/usr/bin $fs/usr
pankso@3019 40 }