wok-current view xautolock/receipt @ rev 20050
xautolock: add deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 01 12:54:10 2017 +0200 (2017-09-01) |
parents | 9a3581285012 |
children | ad8b9ff412d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xautolock"
4 VERSION="2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Program launcher for idle X sessions."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://www.ibiblio.org/pub/linux/X11/"
11 WGET_URL="${WEB_SITE}screensavers/$TARBALL"
13 DEPENDS="xorg-libXss libxcb xlockmore"
14 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 xmkmf &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc
28 cp -a $src/Readme $install/usr/share/doc
29 cp -a $src/xautolock.man $install/usr/share/man
30 chmod a+r $install/usr/share/*/*
31 cp -a $install/usr/bin $fs/usr
32 }