wok-6.x annotate lxlauncher/receipt @ rev 14149

cookutils: up 3.1.3 (with bazaar support)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 04 09:49:43 2013 +0000 (2013-03-04)
parents e55f2df34161
children 2b9f96603415
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
pascal@12972 19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
gokhlayeh@8887 20 # Fix infinite loop.
gokhlayeh@8887 21 touch po/stamp-it
gokhlayeh@8887 22 # Default icons to 32
gokhlayeh@8887 23 sed -i s/'120'/'100'/ src/lxlauncher.c
gokhlayeh@8887 24 sed -i s/'48'/'32'/ src/lxlauncher.c
pankso@796 25 ./configure \
pankso@796 26 --prefix=/usr \
pankso@796 27 --mandir=/usr/share/man \
pascal@1486 28 $CONFIGURE_ARGS &&
gokhlayeh@8887 29 make &&
gokhlayeh@8887 30 make DESTDIR=$PWD/_pkg install
pankso@796 31 }
pankso@796 32
pankso@796 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@796 34 genpkg_rules()
pankso@796 35 {
gokhlayeh@8887 36 mkdir -p $fs/usr/share/lxlauncher
pankso@796 37 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@8887 38 # SliTaz home make config files
slaxemulator@8950 39 cp $stuff/gtkrc $fs/usr/share/lxlauncher
slaxemulator@8950 40 #cp -a $stuff/background $fs/usr/share/lxlauncher
slaxemulator@8950 41 #background="internet learn play settings work"
slaxemulator@8950 42 #for i in $background; do
slaxemulator@8950 43 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
slaxemulator@8950 44 #done
gokhlayeh@8887 45 chown -R root.root $fs
pankso@796 46 }