wok-current view xlockmore/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents fcd3d43eadad
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xlockmore"
4 VERSION="5.56"
5 CATEGORY="utilities"
6 SHORT_DESC="X Window System Lock Screen."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://sillycycle.com/xlockmore.html"
11 WGET_URL="http://sillycycle.com/xlock/$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 sed -i 's|__GNUC_MINOR__ >= 4|__GNUC_MINOR__ >= 7|' modes/strange.c
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 }