wok-6.x annotate xlockmore/receipt @ rev 18135
poptop: fix plugin version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 17:53:06 2015 +0200 (2015-06-13) |
parents | a579549edab7 |
children | 9e01bc6321ea |
rev | line source |
---|---|
rocky@3627 | 1 # SliTaz package receipt. |
rocky@3627 | 2 |
rocky@3627 | 3 PACKAGE="xlockmore" |
samuel_trassare@13397 | 4 VERSION="5.40" |
rocky@3627 | 5 CATEGORY="utilities" |
rocky@3627 | 6 SHORT_DESC="X Window System Lock Screen." |
rocky@3627 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
rocky@3627 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rocky@3627 | 10 WEB_SITE="http://www.tux.org/~bagleyd/xlockmore.html" |
rocky@3627 | 11 WGET_URL="http://www.tux.org/~bagleyd/xlock/$PACKAGE-$VERSION/$TARBALL" |
rocky@3627 | 12 |
pascal@15601 | 13 DEPENDS="xorg-libX11 freetype freetype1" |
pascal@15601 | 14 BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXt-dev" |
pascal@15601 | 15 |
rocky@3627 | 16 # Rules to configure and make the package. |
rocky@3627 | 17 compile_rules() |
rocky@3627 | 18 { |
rocky@3627 | 19 cd $src |
rocky@3627 | 20 ./configure --prefix=/usr \ |
rocky@3627 | 21 --infodir=/usr/share/info \ |
rocky@3627 | 22 --mandir=/usr/share/man \ |
rocky@3627 | 23 $CONFIGURE_ARGS && |
rocky@3627 | 24 make && |
slaxemulator@11319 | 25 mkdir -p $DESTDIR/usr/share/X11/app-defaults/ \ |
slaxemulator@11319 | 26 $DESTDIR/usr/bin |
slaxemulator@11319 | 27 cp -f xlock/xlock $DESTDIR/usr/bin/ |
slaxemulator@11319 | 28 cp -f xlock/XLock.ad $DESTDIR/usr/share/X11/app-defaults/XLock |
rocky@3627 | 29 } |
rocky@3627 | 30 |
rocky@3627 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3627 | 32 genpkg_rules() |
rocky@3627 | 33 { |
rocky@3627 | 34 mkdir -p $fs |
pascal@15601 | 35 cp -a $install/usr $fs |
rocky@3627 | 36 } |
rocky@3627 | 37 |
rocky@3627 | 38 post_install() |
rocky@3627 | 39 { |
rocky@3627 | 40 local root |
rocky@3627 | 41 root=$1 |
rocky@3627 | 42 chmod u+s $root/usr/bin/xlock |
rocky@3627 | 43 } |