wok-current view xlockmore/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents 9e01bc6321ea
children a78610b2eb47
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 openmotif-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }