wok-next annotate slock/receipt @ rev 14563

eina: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 19:35:54 2013 +0200 (2013-05-23)
parents 1916b7d701ea
children 3b4e4318134e
rev   line source
mallory@1169 1 # SliTaz package receipt.
mallory@1169 2
mallory@1169 3 PACKAGE="slock"
erjo@14448 4 VERSION="1.1"
mallory@1169 5 CATEGORY="security"
mallory@1169 6 SHORT_DESC="Simple X display locker."
mallory@1169 7 MAINTAINER="mallory@sweetpeople.org"
pascal@2441 8 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
erjo@13409 9 BUILD_DEPENDS="xorg-xproto xorg-xextproto xorg-libX11-dev xorg-libXext-dev"
mallory@1169 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11037 11 WEB_SITE="http://tools.suckless.org/slock"
slaxemulator@11037 12 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
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 &&
slaxemulator@11037 21 make DESTDIR=$DESTDIR 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 }
mallory@1169 30