wok view xorg-xset/receipt @ rev 24328
updated asunder (2.9.5 -> 2.9.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 14:28:54 2022 +0100 (2022-01-27) |
parents | 66183b1cac5d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xset"
4 VERSION="1.2.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg user preference utility."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xset"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 SUGGESTED="yad"
16 DEPENDS="xorg-libXmu"
17 BUILD_DEPENDS="xorg-libXmu-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $stuff/xset-screensaver.sh $fs/usr/bin
42 chmod 755 $fs/usr/bin/xset-screensaver.sh
43 }