wok annotate lxlauncher/receipt @ rev 8887

Oups... fix lxlauncher again!
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 27 05:13:11 2011 +0100 (2011-02-27)
parents 817385d8b34f
children e55f2df34161
rev   line source
pankso@796 1 # SliTaz package receipt.
pankso@796 2
gokhlayeh@8887 3 PACKAGE="lxlauncher"
gokhlayeh@8887 4 VERSION="0.2.1"
gokhlayeh@8887 5 CATEGORY="x-window"
gokhlayeh@8887 6 SHORT_DESC="LXDE desktop launcher."
gokhlayeh@8887 7 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
gokhlayeh@8887 8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
gokhlayeh@8887 9 menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
gokhlayeh@8887 10 MAINTAINER="pankso@slitaz.org"
pankso@796 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@8887 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
gokhlayeh@8887 19 # Fix infinite loop.
gokhlayeh@8887 20 touch po/stamp-it
gokhlayeh@8887 21 # Default icons to 32
gokhlayeh@8887 22 sed -i s/'120'/'100'/ src/lxlauncher.c
gokhlayeh@8887 23 sed -i s/'48'/'32'/ src/lxlauncher.c
pankso@796 24 ./configure \
pankso@796 25 --prefix=/usr \
pankso@796 26 --mandir=/usr/share/man \
pascal@1486 27 $CONFIGURE_ARGS &&
gokhlayeh@8887 28 make &&
gokhlayeh@8887 29 make DESTDIR=$PWD/_pkg install
pankso@796 30 }
pankso@796 31
pankso@796 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@796 33 genpkg_rules()
pankso@796 34 {
gokhlayeh@8887 35 mkdir -p $fs/usr/share/lxlauncher
pankso@796 36 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@8887 37 # SliTaz home make config files
gokhlayeh@8887 38 cp stuff/gtkrc $fs/usr/share/lxlauncher
gokhlayeh@8887 39 #cp -a stuff/background $fs/usr/share/lxlauncher
gokhlayeh@8887 40 chown -R root.root $fs
pankso@796 41 }