wok-next annotate lxlauncher/receipt @ rev 3543
Add axel tools
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 11:52:01 2009 +0800 (2009-06-23) |
parents | d04823a784db |
children | 2d6921efeca8 |
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." |
pascal@2518 | 7 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification xorg-libXdamage" |
pascal@1490 | 8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev startup-notification gnome-menus gnome-menus-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 \ |
pascal@1486 | 24 $CONFIGURE_ARGS && |
pascal@1486 | 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 } |