wok view xautolock/receipt @ rev 24967
filezilla: added dependency libmspack (thanks rerivero)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 07:15:14 2022 +0100 (2022-04-26) |
parents | 657de15e76fb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xautolock"
4 VERSION="2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Program launcher for idle X sessions."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://www.ibiblio.org/pub/linux/X11/"
11 WGET_URL="${WEB_SITE}screensavers/$TARBALL"
13 DEPENDS="xorg-libXss libxcb xlockmore"
14 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 xmkmf &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc
35 cp -a $src/Readme $install/usr/share/doc
36 cp -a $src/xautolock.man $install/usr/share/man
37 chmod a+r $install/usr/share/*/*
38 cp -a $install/usr/bin $fs/usr
39 }