wok-current annotate slock/receipt @ rev 1948
Add pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 28 22:31:23 2008 +0000 (2008-12-28) |
parents | 9063e718f470 |
children | 0d71947173a7 |
rev | line source |
---|---|
mallory@1169 | 1 # SliTaz package receipt. |
mallory@1169 | 2 |
mallory@1169 | 3 PACKAGE="slock" |
mallory@1169 | 4 VERSION="0.9" |
mallory@1169 | 5 CATEGORY="security" |
mallory@1169 | 6 SHORT_DESC="Simple X display locker." |
mallory@1169 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@1169 | 8 DEPENDS="" |
pascal@1514 | 9 BUILD_DEPENDS="xorg-dev xorg-xproto xorg-xextproto xorg-libX11-dev" |
mallory@1169 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@1169 | 11 WEB_SITE="http://www.suckless.org/programs/slock.html" |
mallory@1169 | 12 WGET_URL="http://code.suckless.org/dl/tools/slock-0.9.tar.gz" |
mallory@1169 | 13 |
mallory@1169 | 14 # Rules to configure and make the package. |
mallory@1169 | 15 compile_rules() |
mallory@1169 | 16 { |
mallory@1169 | 17 cd $src |
mallory@1169 | 18 mv config.mk config.mk.original |
mallory@1169 | 19 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk |
pascal@1514 | 20 make && |
mallory@1169 | 21 make DESTDIR=$PWD/_pkg install |
mallory@1169 | 22 } |
mallory@1169 | 23 |
mallory@1169 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1169 | 25 genpkg_rules() |
mallory@1169 | 26 { |
mallory@1169 | 27 mkdir -p $fs/usr |
mallory@1169 | 28 cp -a $_pkg/usr/bin $fs/usr |
mallory@1169 | 29 strip -s $fs/usr/bin/* |
mallory@1169 | 30 } |
mallory@1169 | 31 |