wok view xlockmore/receipt @ rev 23695

updated terminator (1.91 -> 1.92)
author Hans-G?nter Theisgen
date Mon Apr 27 07:35:16 2020 +0100 (2020-04-27)
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 }