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