wok-next view slock/receipt @ rev 20006

nginx-extras: update bdeps, vte-dev: add vte.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 15:15:14 2017 +0200 (2017-10-21)
parents 3b4e4318134e
children c4e53a39395a
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
15 BUILD_DEPENDS="xorg-xproto xorg-xextproto xorg-libX11-dev xorg-libXext-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv config.mk config.mk.original
21 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk
22 make CC=$CC &&
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 }