wok-6.x view xlockmore/receipt @ rev 16617

libgd: it build with same receipt than december 2013 - but with error on libgd-config that may be present for a long time
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 08 20:04:50 2014 +0200 (2014-05-08)
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 }