wok-4.x rev 1169
Add receipt for slock - Simple X session locker
author | Mallory MOLLO <mallory@sweetpeople.org> |
---|---|
date | Thu Jul 31 05:58:37 2008 +0200 (2008-07-31) |
parents | f1362553414e |
children | ba4182bd6ab1 |
files | slock/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slock/receipt Thu Jul 31 05:58:37 2008 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slock" 1.7 +VERSION="0.9" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="Simple X display locker." 1.10 +MAINTAINER="mallory@sweetpeople.org" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="xorg-dev xorg-xproto xorg-xextproto" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.suckless.org/programs/slock.html" 1.15 +WGET_URL="http://code.suckless.org/dl/tools/slock-0.9.tar.gz" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + mv config.mk config.mk.original 1.22 + sed -e 's/usr\/local/usr/' < config.mk.original > config.mk 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + strip -s $fs/usr/bin/* 1.33 +} 1.34 +