wok annotate xorg-xkill/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 86bd5f0c0347
children
rev   line source
mallory@1266 1 # SliTaz package receipt.
mallory@1266 2
mallory@1266 3 PACKAGE="xorg-xkill"
Hans-G?nter@22293 4 VERSION="1.0.5"
mallory@1266 5 CATEGORY="x-window"
mallory@1266 6 SHORT_DESC="X application killer"
mallory@1266 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22293 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22293 10
Hans-G?nter@22293 11 SOURCE="xkill"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@22293 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
mallory@1266 14
pascal@15579 15 DEPENDS="xorg-libXmu"
pascal@15579 16 BUILD_DEPENDS="xorg-libXmu-dev"
pascal@15579 17
Hans-G?nter@22293 18 HOST_ARCH="i486 arm"
Hans-G?nter@22293 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
mallory@1266 26 # Rules to configure and make the package.
mallory@1266 27 compile_rules()
mallory@1266 28 {
Hans-G?nter@22293 29 ./configure \
pankso@16329 30 $CONFIGURE_ARGS &&
Hans-G?nter@22293 31 make &&
Hans-G?nter@22293 32 make install
mallory@1266 33 }
mallory@1266 34
mallory@1266 35 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1266 36 genpkg_rules()
mallory@1266 37 {
mallory@1266 38 mkdir -p $fs/usr
Hans-G?nter@22293 39 cp -a $install/usr/bin $fs/usr
mallory@1266 40 }