wok-6.x annotate lxlauncher/receipt @ rev 23378
updated perl-net-server (0.97 -> 2.009)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 14:28:37 2020 +0100 (2020-03-31) |
parents | 6e8b1bcb30e2 |
children | ee53899c6189 |
rev | line source |
---|---|
pankso@796 | 1 # SliTaz package receipt. |
pankso@796 | 2 |
gokhlayeh@8887 | 3 PACKAGE="lxlauncher" |
Hans-G?nter@21393 | 4 VERSION="0.2.5" |
gokhlayeh@8887 | 5 CATEGORY="x-window" |
Hans-G?nter@21393 | 6 TAGS="LXDE netbook" |
Hans-G?nter@21393 | 7 SHORT_DESC="LXDE launcher for netbooks." |
pascal@14999 | 8 LICENSE="GPL3" |
gokhlayeh@8887 | 9 MAINTAINER="pankso@slitaz.org" |
Hans-G?nter@21393 | 10 WEB_SITE="https://wiki.lxde.org/en/LXLauncher" |
Hans-G?nter@21393 | 11 |
al@17988 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@796 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@796 | 14 |
Hans-G?nter@21393 | 15 DEPENDS="gnome-menus gtk+ menu-cache startup-notification \ |
Hans-G?nter@21393 | 16 xorg-libX11 xorg-libXdamage" |
Hans-G?nter@21393 | 17 BUILD_DEPENDS="gnome-menus gnome-menus-dev gtk+-dev libxcb-dev \ |
Hans-G?nter@21393 | 18 menu-cache-dev startup-notification \ |
Hans-G?nter@21393 | 19 startup-notification-dev xorg-libX11-dev" |
pascal@14999 | 20 |
pankso@796 | 21 # Rules to configure and make the package. |
pankso@796 | 22 compile_rules() |
pankso@796 | 23 { |
al@17988 | 24 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@17988 | 25 ## Fix infinite loop. |
al@17988 | 26 #touch po/stamp-it |
al@17988 | 27 ## Default icons to 32 |
al@17988 | 28 #sed -i s/'120'/'100'/ src/lxlauncher.c |
al@17988 | 29 #sed -i s/'48'/'32'/ src/lxlauncher.c |
Hans-G?nter@21393 | 30 |
Hans-G?nter@21393 | 31 ./configure \ |
Hans-G?nter@21393 | 32 --prefix=/usr \ |
Hans-G?nter@21393 | 33 --sysconfdir=/etc \ |
pascal@1486 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21393 | 35 make -j 1 && |
pascal@14999 | 36 make DESTDIR=$DESTDIR install |
pankso@796 | 37 } |
pankso@796 | 38 |
pankso@796 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@796 | 40 genpkg_rules() |
pankso@796 | 41 { |
al@17988 | 42 mkdir -p $fs/usr/share |
al@17988 | 43 |
Hans-G?nter@21393 | 44 cp -a $install/usr/bin $fs/usr |
al@17988 | 45 |
gokhlayeh@8887 | 46 # SliTaz home make config files |
Hans-G?nter@21393 | 47 cp -a $install/etc $fs |
Hans-G?nter@21393 | 48 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher |
al@17988 | 49 |
al@17988 | 50 cp -a $install/usr/share/desktop-directories $fs/usr/share |
al@17988 | 51 |
slaxemulator@8950 | 52 #cp -a $stuff/background $fs/usr/share/lxlauncher |
slaxemulator@8950 | 53 #background="internet learn play settings work" |
slaxemulator@8950 | 54 #for i in $background; do |
slaxemulator@8950 | 55 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg |
slaxemulator@8950 | 56 #done |
al@17988 | 57 |
gokhlayeh@8887 | 58 chown -R root.root $fs |
pankso@796 | 59 } |