wok annotate lxlauncher/receipt @ rev 5240

Add: speedometer
author Paul Issott <paul@slitaz.org>
date Sat Apr 10 18:08:11 2010 +0000 (2010-04-10)
parents 2e55de4816a6
children 817385d8b34f
rev   line source
pankso@796 1 # SliTaz package receipt.
pankso@796 2
pankso@796 3 PACKAGE="lxlauncher"
rcx@3794 4 VERSION="0.2.1"
pankso@796 5 CATEGORY="x-window"
pankso@796 6 SHORT_DESC="LXDE desktop launcher."
rcx@3794 7 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
rcx@3794 8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
rcx@3794 9 menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
pankso@796 10 MAINTAINER="pankso@slitaz.org"
pankso@796 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@796 12 WEB_SITE="http://lxde.org/"
pankso@796 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@796 14
pankso@796 15 # Rules to configure and make the package.
pankso@796 16 compile_rules()
pankso@796 17 {
pankso@796 18 cd $src
pankso@796 19 # Default icons to 32
pankso@796 20 sed -i s/'120'/'100'/ src/lxlauncher.c
pankso@796 21 sed -i s/'48'/'32'/ src/lxlauncher.c
pankso@796 22 ./configure \
pankso@796 23 --prefix=/usr \
pankso@796 24 --mandir=/usr/share/man \
pascal@1486 25 $CONFIGURE_ARGS &&
pascal@1486 26 make &&
pankso@796 27 make DESTDIR=$PWD/_pkg install
pankso@796 28 }
pankso@796 29
pankso@796 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@796 31 genpkg_rules()
pankso@796 32 {
pankso@796 33 mkdir -p $fs/usr/share/lxlauncher
pankso@796 34 cp -a $_pkg/usr/bin $fs/usr
pankso@796 35 # SliTaz home make config files
pankso@796 36 cp stuff/gtkrc $fs/usr/share/lxlauncher
pankso@917 37 #cp -a stuff/background $fs/usr/share/lxlauncher
pankso@796 38 chown -R root.root $fs
pankso@796 39 }