wok-current view xlockmore/receipt @ rev 19143

Up miro (6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 12:10:21 2016 +0200 (2016-05-19)
parents 23c3aed67cd9
children 09d56ebfd3c2
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 chmod u+s "$1/usr/bin/xlock"
41 }