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