wok annotate lxappearance/receipt @ rev 7976
Fix: leafpad needs install-sh as executable to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 17 17:57:10 2011 +0100 (2011-01-17) |
parents | d97b2bc0edc2 |
children | 40a7bb2d537a |
rev | line source |
---|---|
pankso@510 | 1 # SliTaz package receipt. |
pankso@510 | 2 |
pankso@510 | 3 PACKAGE="lxappearance" |
slaxemulator@6280 | 4 VERSION="0.4.0" |
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" |
slaxemulator@6280 | 9 BUILD_DEPENDS="pkg-config intltool 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@4574 | 33 |
pankso@510 | 34 # Remove a few "heavy" an unseful images |
pankso@510 | 35 chmod +x $fs/usr/share/lxappearance/*.sh |
pankso@510 | 36 } |