# SliTaz package receipt. PACKAGE="xorg-xset" VERSION="1.2.4" CATEGORY="x-window" SHORT_DESC="Xorg user preference utility." MAINTAINER="paul@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.x.org/wiki/" SOURCE="xset" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$XORG_MIRROR/app/$TARBALL" SUGGESTED="yad" DEPENDS="xorg-libXmu" BUILD_DEPENDS="xorg-libXmu-dev" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $stuff/xset-screensaver.sh $fs/usr/bin chmod 755 $fs/usr/bin/xset-screensaver.sh }