wok-next view xlockmore/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xlockmore"
4 VERSION="5.40"
5 CATEGORY="utilities"
6 SHORT_DESC="X Window System Lock Screen"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://sillycycle.com/xlockmore.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL" # FIXME
14 BUILD_DEPENDS="libxdmcp-dev libxpm-dev libx11-dev \
15 libxt-dev libxext-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make || return 1
25 mkdir -p $install/usr/share/X11/app-defaults/ \
26 $install/usr/bin
27 cp -f xlock/xlock $install/usr/bin/
28 cp -f xlock/XLock.ad $install/usr/share/X11/app-defaults/XLock
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="libx11 freetype freetype1"
34 }
36 post_install() {
37 chmod u+s "$1/usr/bin/xlock"
38 }