wok annotate lxappearance/receipt @ rev 4236

tazbb: get KERNEL variable from linux receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 16:26:08 2009 +0200 (2009-09-24)
parents 2e55de4816a6
children d97b2bc0edc2
rev   line source
pankso@510 1 # SliTaz package receipt.
pankso@510 2
pankso@510 3 PACKAGE="lxappearance"
rcx@3793 4 VERSION="0.2.1"
pankso@510 5 CATEGORY="x-window"
pankso@510 6 SHORT_DESC="Desktop setting configuration utility from LXDE."
pankso@510 7 MAINTAINER="pankso@slitaz.org"
pascal@2518 8 DEPENDS="gtk+ xorg-libXdamage"
pascal@1441 9 BUILD_DEPENDS="pkg-config gtk+-dev gettext xorg-xproto"
pankso@510 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@510 11 WEB_SITE="http://lxde.sourceforge.net/"
pankso@510 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@510 13
pankso@510 14 # Rules to configure and make the package.
pankso@510 15 compile_rules()
pankso@510 16 {
pankso@510 17 cd $src
pankso@510 18 ./configure \
pankso@510 19 --prefix=/usr \
pascal@1441 20 $CONFIGURE_ARGS &&
pascal@1441 21 make &&
pankso@510 22 make DESTDIR=$PWD/_pkg install
pankso@510 23 # Avoid install error (chmod)
pascal@1441 24 # echo "Please continue..."
pankso@510 25 }
pankso@510 26
pankso@510 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@510 28 genpkg_rules()
pankso@510 29 {
pankso@510 30 mkdir -p $fs/usr/share
pankso@510 31 cp -a $_pkg/usr/bin $fs/usr
pankso@510 32 cp -a $_pkg/usr/share/lxappearance $fs/usr/share
pankso@510 33
pankso@510 34 # Remove a few "heavy" an unseful images
pankso@510 35 chmod +x $fs/usr/share/lxappearance/*.sh
pankso@510 36 }