wok-6.x annotate lxlauncher/receipt @ rev 18278
Up elinks (0.12pre6)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Aug 08 19:55:49 2015 +0200 (2015-08-08) |
parents | c73f683146cf |
children | 6e8b1bcb30e2 |
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" |
al@17992 | 6 SHORT_DESC="LXDE launcher for netbooks" |
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" |
al@17992 | 12 TAGS="LXDE netbook" |
pankso@796 | 13 |
pascal@14999 | 14 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage" |
pascal@14999 | 15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \ |
pascal@14999 | 16 menu-cache-dev startup-notification-dev startup-notification libxcb-dev" |
pascal@14999 | 17 |
pankso@796 | 18 # Rules to configure and make the package. |
pankso@796 | 19 compile_rules() |
pankso@796 | 20 { |
al@17988 | 21 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@17988 | 22 ## Fix infinite loop. |
al@17988 | 23 #touch po/stamp-it |
al@17988 | 24 ## Default icons to 32 |
al@17988 | 25 #sed -i s/'120'/'100'/ src/lxlauncher.c |
al@17988 | 26 #sed -i s/'48'/'32'/ src/lxlauncher.c |
pankso@796 | 27 ./configure \ |
pankso@796 | 28 --prefix=/usr \ |
al@17988 | 29 --sysconfdir=/etc \ |
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 { |
al@17988 | 38 mkdir -p $fs/usr/share |
al@17988 | 39 |
pascal@14999 | 40 cp -a $install/usr/bin $fs/usr |
al@17988 | 41 |
gokhlayeh@8887 | 42 # SliTaz home make config files |
al@17988 | 43 cp -a $install/etc $fs |
al@17988 | 44 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher |
al@17988 | 45 |
al@17988 | 46 cp -a $install/usr/share/desktop-directories $fs/usr/share |
al@17988 | 47 |
slaxemulator@8950 | 48 #cp -a $stuff/background $fs/usr/share/lxlauncher |
slaxemulator@8950 | 49 #background="internet learn play settings work" |
slaxemulator@8950 | 50 #for i in $background; do |
slaxemulator@8950 | 51 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg |
slaxemulator@8950 | 52 #done |
al@17988 | 53 |
gokhlayeh@8887 | 54 chown -R root.root $fs |
pankso@796 | 55 } |