wok diff slock/receipt @ rev 1508

Add doxygen
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 17:35:38 2008 +0000 (2008-10-05)
parents
children 52dc4b48ed81
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slock/receipt	Sun Oct 05 17:35:38 2008 +0000
     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 +