wok annotate xorg-xset/receipt @ rev 24161

updated memtester (4.3.0 -> 4.5.1)
author Hans-G?nter Theisgen
date Wed Dec 22 13:43:13 2021 +0100 (2021-12-22)
parents 66183b1cac5d
children
rev   line source
paul@2102 1 # SliTaz package receipt.
paul@2102 2
paul@2102 3 PACKAGE="xorg-xset"
Hans-G?nter@22300 4 VERSION="1.2.4"
paul@2102 5 CATEGORY="x-window"
paul@2102 6 SHORT_DESC="Xorg user preference utility."
paul@2102 7 MAINTAINER="paul@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22300 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22300 10
paul@2102 11 SOURCE="xset"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
gokhlayeh@6993 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
paul@2102 14
Hans-G?nter@22300 15 SUGGESTED="yad"
pascal@15579 16 DEPENDS="xorg-libXmu"
pascal@15579 17 BUILD_DEPENDS="xorg-libXmu-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
paul@2102 25 # Rules to configure and make the package.
paul@2102 26 compile_rules()
paul@2102 27 {
Hans-G?nter@22300 28 ./configure \
Hans-G?nter@22300 29 $CONFIGURE_ARGS &&
Hans-G?nter@22300 30 make &&
Hans-G?nter@22300 31 make DESTDIR=$DESTDIR install
paul@2102 32 }
paul@2102 33
paul@2102 34 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2102 35 genpkg_rules()
paul@2102 36 {
paul@2102 37 mkdir -p $fs/usr
Hans-G?nter@22300 38
Hans-G?nter@22300 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22300 40 cp -a $stuff/xset-screensaver.sh $fs/usr/bin
Hans-G?nter@22300 41
psychomaniak@18515 42 chmod 755 $fs/usr/bin/xset-screensaver.sh
paul@2102 43 }