wok view xautolock/receipt @ rev 20049

Add xautolock
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 01 11:29:54 2017 +0200 (2017-09-01)
parents
children 657de15e76fb
line source
1 # SliTaz package receipt.
3 PACKAGE="xautolock"
4 VERSION="2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="."
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="https://www.ibiblio.org/pub/linux/X11/screensavers/$TARBALL"
13 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 xmkmf &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc
27 cp -a $src/Readme $install/usr/share/doc
28 cp -a $src/xautolock.man $install/usr/share/man
29 cp -a $install/usr/bin $fs/usr
30 }