wok-next annotate lxlauncher/receipt @ rev 10621
enlightenment and libs: huge clean to bdeps and make it build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:09:04 2011 +0200 (2011-05-26) |
parents | 6764e22b39a6 |
children | 1adac4b0fd89 |
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 |
slaxemulator@8950 | 38 cp $stuff/gtkrc $fs/usr/share/lxlauncher |
slaxemulator@8950 | 39 #cp -a $stuff/background $fs/usr/share/lxlauncher |
slaxemulator@8950 | 40 #background="internet learn play settings work" |
slaxemulator@8950 | 41 #for i in $background; do |
slaxemulator@8950 | 42 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg |
slaxemulator@8950 | 43 #done |
gokhlayeh@8887 | 44 chown -R root.root $fs |
pankso@796 | 45 } |