wok-6.x rev 20049
Add xautolock
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 01 11:29:54 2017 +0200 (2017-09-01) |
parents | fb697377a205 |
children | 657de15e76fb |
files | xautolock/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xautolock/receipt Fri Sep 01 11:29:54 2017 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xautolock" 1.7 +VERSION="2.2" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tgz" 1.13 +WEB_SITE="https://www.ibiblio.org/pub/linux/X11/" 1.14 +WGET_URL="https://www.ibiblio.org/pub/linux/X11/screensavers/$TARBALL" 1.15 + 1.16 +BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + xmkmf && 1.22 + make && 1.23 + make DESTDIR=$DESTDIR install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc 1.30 + cp -a $src/Readme $install/usr/share/doc 1.31 + cp -a $src/xautolock.man $install/usr/share/man 1.32 + cp -a $install/usr/bin $fs/usr 1.33 +}