wok-current annotate xlockmore/receipt @ rev 11935

removed extensions from desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 20:31:31 2012 -0800 (2012-02-29)
parents c74e83c2d425
children 241d1ef6b989
rev   line source
rocky@3627 1 # SliTaz package receipt.
rocky@3627 2
rocky@3627 3 PACKAGE="xlockmore"
samuel_trassare@11756 4 VERSION="5.38"
rocky@3627 5 CATEGORY="utilities"
rocky@3627 6 SHORT_DESC="X Window System Lock Screen."
rocky@3627 7 MAINTAINER="rocky@slitaz.org"
jozee@5019 8 DEPENDS="xorg-libX11 freetype freetype1"
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 &&
slaxemulator@11319 23 mkdir -p $DESTDIR/usr/share/X11/app-defaults/ \
slaxemulator@11319 24 $DESTDIR/usr/bin
slaxemulator@11319 25 cp -f xlock/xlock $DESTDIR/usr/bin/
slaxemulator@11319 26 cp -f xlock/XLock.ad $DESTDIR/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
samuel_trassare@11756 34
samuel_trassare@11756 35 mkdir -p $fs/usr/share/applications \
samuel_trassare@11756 36 $fs/usr/share/pixmaps
samuel_trassare@11756 37 cp -a $stuff/xlock.desktop $fs/usr/share/applications
samuel_trassare@11756 38 cp -a $stuff/xlockmore.png $fs/usr/share/pixmaps
rocky@3627 39 }
rocky@3627 40
rocky@3627 41 post_install()
rocky@3627 42 {
rocky@3627 43 local root
rocky@3627 44 root=$1
rocky@3627 45 chmod u+s $root/usr/bin/xlock
rocky@3627 46 }