wok-6.x annotate lxlauncher/receipt @ rev 1432
Add: rpm4
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 01 00:00:56 2008 +0200 (2008-10-01) |
parents | 8c93080d5e71 |
children | f0e0e1fd3f1b |
rev | line source |
---|---|
pankso@796 | 1 # SliTaz package receipt. |
pankso@796 | 2 |
pankso@796 | 3 PACKAGE="lxlauncher" |
pankso@917 | 4 VERSION="0.2" |
pankso@796 | 5 CATEGORY="x-window" |
pankso@796 | 6 SHORT_DESC="LXDE desktop launcher." |
pankso@796 | 7 DEPENDS="xorg-libX11 gtk+" |
pankso@796 | 8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev" |
pankso@796 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@796 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@796 | 11 WEB_SITE="http://lxde.org/" |
pankso@796 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@796 | 13 |
pankso@796 | 14 # Rules to configure and make the package. |
pankso@796 | 15 compile_rules() |
pankso@796 | 16 { |
pankso@796 | 17 cd $src |
pankso@796 | 18 # Default icons to 32 |
pankso@796 | 19 sed -i s/'120'/'100'/ src/lxlauncher.c |
pankso@796 | 20 sed -i s/'48'/'32'/ src/lxlauncher.c |
pankso@796 | 21 ./configure \ |
pankso@796 | 22 --prefix=/usr \ |
pankso@796 | 23 --mandir=/usr/share/man \ |
pankso@796 | 24 $CONFIGURE_ARGS |
pankso@796 | 25 make |
pankso@796 | 26 make DESTDIR=$PWD/_pkg install |
pankso@796 | 27 } |
pankso@796 | 28 |
pankso@796 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@796 | 30 genpkg_rules() |
pankso@796 | 31 { |
pankso@796 | 32 mkdir -p $fs/usr/share/lxlauncher |
pankso@796 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@796 | 34 # SliTaz home make config files |
pankso@796 | 35 cp stuff/gtkrc $fs/usr/share/lxlauncher |
pankso@917 | 36 #cp -a stuff/background $fs/usr/share/lxlauncher |
pankso@796 | 37 chown -R root.root $fs |
pankso@796 | 38 } |