wok-next view slock/receipt @ rev 15925
linux: add ata orphans
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 19 12:47:39 2014 +0000 (2014-02-19) |
parents | 348ec68bbfd6 |
children | 75362eca62d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slock"
4 VERSION="1.1"
5 CATEGORY="security"
6 SHORT_DESC="Simple X display locker."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tools.suckless.org/slock"
11 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
14 BUILD_DEPENDS="xorg-xproto xorg-xextproto xorg-libX11-dev xorg-libXext-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mv config.mk config.mk.original
21 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }