wok-next view slock/receipt @ rev 20963
Add hackdorte-artwork and remove appropriate old packages with dead homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 08 15:02:14 2018 +0300 (2018-09-08) |
parents | c4e53a39395a |
children | d5aab818505e |
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-xorgproto 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 }