wok-6.x annotate lxlauncher/receipt @ rev 15977
Up connman-dev (1.21)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 28 21:53:45 2014 +0100 (2014-02-28) |
parents | 1adac4b0fd89 |
children | 17e313b5b9c1 |
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." |
pascal@14999 | 7 LICENSE="GPL3" |
gokhlayeh@8887 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@796 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@8887 | 10 WEB_SITE="http://lxde.org/" |
pankso@796 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@796 | 12 |
pascal@14999 | 13 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage" |
pascal@14999 | 14 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \ |
pascal@14999 | 15 menu-cache-dev startup-notification-dev startup-notification libxcb-dev" |
pascal@14999 | 16 |
pankso@796 | 17 # Rules to configure and make the package. |
pankso@796 | 18 compile_rules() |
pankso@796 | 19 { |
pankso@796 | 20 cd $src |
pascal@12972 | 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
gokhlayeh@8887 | 22 # Fix infinite loop. |
gokhlayeh@8887 | 23 touch po/stamp-it |
gokhlayeh@8887 | 24 # Default icons to 32 |
gokhlayeh@8887 | 25 sed -i s/'120'/'100'/ src/lxlauncher.c |
gokhlayeh@8887 | 26 sed -i s/'48'/'32'/ src/lxlauncher.c |
pankso@796 | 27 ./configure \ |
pankso@796 | 28 --prefix=/usr \ |
pankso@796 | 29 --mandir=/usr/share/man \ |
pascal@1486 | 30 $CONFIGURE_ARGS && |
gokhlayeh@8887 | 31 make && |
pascal@14999 | 32 make DESTDIR=$DESTDIR install |
pankso@796 | 33 } |
pankso@796 | 34 |
pankso@796 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@796 | 36 genpkg_rules() |
pankso@796 | 37 { |
gokhlayeh@8887 | 38 mkdir -p $fs/usr/share/lxlauncher |
pascal@14999 | 39 cp -a $install/usr/bin $fs/usr |
gokhlayeh@8887 | 40 # SliTaz home make config files |
slaxemulator@8950 | 41 cp $stuff/gtkrc $fs/usr/share/lxlauncher |
slaxemulator@8950 | 42 #cp -a $stuff/background $fs/usr/share/lxlauncher |
slaxemulator@8950 | 43 #background="internet learn play settings work" |
slaxemulator@8950 | 44 #for i in $background; do |
slaxemulator@8950 | 45 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg |
slaxemulator@8950 | 46 #done |
gokhlayeh@8887 | 47 chown -R root.root $fs |
pankso@796 | 48 } |