wok-next view xlockmore/receipt @ rev 20219

memtest: shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 13:03:25 2017 +0100 (2017-11-05)
parents 9e01bc6321ea
children 7506b35e1c6f
line source
1 # SliTaz package receipt.
3 PACKAGE="xlockmore"
4 VERSION="5.40"
5 CATEGORY="utilities"
6 SHORT_DESC="X Window System Lock Screen."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.tux.org/~bagleyd/xlockmore.html"
11 WGET_URL="http://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL"
13 DEPENDS="xorg-libX11 freetype freetype1"
14 BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev \
15 xorg-libXt-dev xorg-libXext-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 mkdir -p $DESTDIR/usr/share/X11/app-defaults/ \
27 $DESTDIR/usr/bin
28 cp -f xlock/xlock $DESTDIR/usr/bin/
29 cp -f xlock/XLock.ad $DESTDIR/usr/share/X11/app-defaults/XLock
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }
39 post_install()
40 {
41 chmod u+s "$1/usr/bin/xlock"
42 }