wok-next view xlockmore/receipt @ rev 18295

Up openssh (7.0p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 13:52:27 2015 +0200 (2015-08-16)
parents a579549edab7
children 9e01bc6321ea
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 xorg-libXt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 mkdir -p $DESTDIR/usr/share/X11/app-defaults/ \
26 $DESTDIR/usr/bin
27 cp -f xlock/xlock $DESTDIR/usr/bin/
28 cp -f xlock/XLock.ad $DESTDIR/usr/share/X11/app-defaults/XLock
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/usr $fs
36 }
38 post_install()
39 {
40 local root
41 root=$1
42 chmod u+s $root/usr/bin/xlock
43 }