wok annotate lxappearance/receipt @ rev 2538
sudoku-savant: fix compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 12:18:54 2009 +0100 (2009-03-22) |
parents | 90a3c5374ebc |
children | 00a2525fa189 |
rev | line source |
---|---|
pankso@510 | 1 # SliTaz package receipt. |
pankso@510 | 2 |
pankso@510 | 3 PACKAGE="lxappearance" |
pankso@630 | 4 VERSION="0.2" |
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 } |