wok annotate 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 |
rev | line source |
---|---|
pascal@20049 | 1 # SliTaz package receipt. |
pascal@20049 | 2 |
pascal@20049 | 3 PACKAGE="xautolock" |
pascal@20049 | 4 VERSION="2.2" |
pascal@20049 | 5 CATEGORY="x-window" |
pascal@20049 | 6 SHORT_DESC="." |
pascal@20049 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20049 | 8 LICENSE="GPL2" |
pascal@20049 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20049 | 10 WEB_SITE="https://www.ibiblio.org/pub/linux/X11/" |
pascal@20049 | 11 WGET_URL="https://www.ibiblio.org/pub/linux/X11/screensavers/$TARBALL" |
pascal@20049 | 12 |
pascal@20049 | 13 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev" |
pascal@20049 | 14 |
pascal@20049 | 15 # Rules to configure and make the package. |
pascal@20049 | 16 compile_rules() |
pascal@20049 | 17 { |
pascal@20049 | 18 xmkmf && |
pascal@20049 | 19 make && |
pascal@20049 | 20 make DESTDIR=$DESTDIR install |
pascal@20049 | 21 } |
pascal@20049 | 22 |
pascal@20049 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20049 | 24 genpkg_rules() |
pascal@20049 | 25 { |
pascal@20049 | 26 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc |
pascal@20049 | 27 cp -a $src/Readme $install/usr/share/doc |
pascal@20049 | 28 cp -a $src/xautolock.man $install/usr/share/man |
pascal@20049 | 29 cp -a $install/usr/bin $fs/usr |
pascal@20049 | 30 } |