wok-next view slock/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 75362eca62d8 |
children | f99935f1778a |
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 mv config.mk config.mk.original
20 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk
21 make CC=$CC &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }