wok annotate lxlauncher/receipt @ rev 17988

Update LXDE stuff.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 23 01:34:37 2015 +0300 (2015-04-23)
parents 17e313b5b9c1
children c9e270dd464f
rev   line source
pankso@796 1 # SliTaz package receipt.
pankso@796 2
gokhlayeh@8887 3 PACKAGE="lxlauncher"
al@17988 4 VERSION="0.2.4"
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"
al@17988 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
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 {
al@17988 20 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
al@17988 21 ## Fix infinite loop.
al@17988 22 #touch po/stamp-it
al@17988 23 ## Default icons to 32
al@17988 24 #sed -i s/'120'/'100'/ src/lxlauncher.c
al@17988 25 #sed -i s/'48'/'32'/ src/lxlauncher.c
pankso@796 26 ./configure \
pankso@796 27 --prefix=/usr \
al@17988 28 --sysconfdir=/etc \
pascal@1486 29 $CONFIGURE_ARGS &&
gokhlayeh@8887 30 make &&
pascal@14999 31 make DESTDIR=$DESTDIR install
pankso@796 32 }
pankso@796 33
pankso@796 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@796 35 genpkg_rules()
pankso@796 36 {
al@17988 37 mkdir -p $fs/usr/share
al@17988 38
pascal@14999 39 cp -a $install/usr/bin $fs/usr
al@17988 40
gokhlayeh@8887 41 # SliTaz home make config files
al@17988 42 cp -a $install/etc $fs
al@17988 43 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
al@17988 44
al@17988 45 cp -a $install/usr/share/desktop-directories $fs/usr/share
al@17988 46
slaxemulator@8950 47 #cp -a $stuff/background $fs/usr/share/lxlauncher
slaxemulator@8950 48 #background="internet learn play settings work"
slaxemulator@8950 49 #for i in $background; do
slaxemulator@8950 50 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
slaxemulator@8950 51 #done
al@17988 52
gokhlayeh@8887 53 chown -R root.root $fs
pankso@796 54 }