wok annotate xautolock/receipt @ rev 20566

tcc: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 23:37:24 2018 +0100 (2018-12-12)
parents 9a3581285012
children ad8b9ff412d2
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@20050 6 SHORT_DESC="Program launcher for idle X sessions."
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@20050 11 WGET_URL="${WEB_SITE}screensavers/$TARBALL"
pascal@20049 12
pascal@20050 13 DEPENDS="xorg-libXss libxcb xlockmore"
pascal@20049 14 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev"
pascal@20049 15
pascal@20049 16 # Rules to configure and make the package.
pascal@20049 17 compile_rules()
pascal@20049 18 {
pascal@20049 19 xmkmf &&
pascal@20049 20 make &&
pascal@20049 21 make DESTDIR=$DESTDIR install
pascal@20049 22 }
pascal@20049 23
pascal@20049 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20049 25 genpkg_rules()
pascal@20049 26 {
pascal@20049 27 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc
pascal@20049 28 cp -a $src/Readme $install/usr/share/doc
pascal@20049 29 cp -a $src/xautolock.man $install/usr/share/man
pascal@20050 30 chmod a+r $install/usr/share/*/*
pascal@20049 31 cp -a $install/usr/bin $fs/usr
pascal@20049 32 }