wok-current annotate lxlauncher/receipt @ rev 25117
updated pcre2 and pcre2-dev (10.34 -> 10.40)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 16:50:46 2022 +0100 (2022-06-25) |
parents | ee53899c6189 |
children |
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" |
pascal@25087 | 10 WEB_SITE="https://www.lxde.org/" |
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 |
pascal@24071 | 21 current_version() |
pascal@24071 | 22 { |
pascal@24071 | 23 wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \ |
pascal@24071 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 26 } |
pascal@24071 | 27 |
pankso@796 | 28 # Rules to configure and make the package. |
pankso@796 | 29 compile_rules() |
pankso@796 | 30 { |
al@17988 | 31 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@17988 | 32 ## Fix infinite loop. |
al@17988 | 33 #touch po/stamp-it |
al@17988 | 34 ## Default icons to 32 |
al@17988 | 35 #sed -i s/'120'/'100'/ src/lxlauncher.c |
al@17988 | 36 #sed -i s/'48'/'32'/ src/lxlauncher.c |
Hans-G?nter@21393 | 37 |
Hans-G?nter@21393 | 38 ./configure \ |
Hans-G?nter@21393 | 39 --prefix=/usr \ |
Hans-G?nter@21393 | 40 --sysconfdir=/etc \ |
pascal@1486 | 41 $CONFIGURE_ARGS && |
Hans-G?nter@21393 | 42 make -j 1 && |
pascal@14999 | 43 make DESTDIR=$DESTDIR install |
pankso@796 | 44 } |
pankso@796 | 45 |
pankso@796 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@796 | 47 genpkg_rules() |
pankso@796 | 48 { |
al@17988 | 49 mkdir -p $fs/usr/share |
al@17988 | 50 |
Hans-G?nter@21393 | 51 cp -a $install/usr/bin $fs/usr |
al@17988 | 52 |
gokhlayeh@8887 | 53 # SliTaz home make config files |
Hans-G?nter@21393 | 54 cp -a $install/etc $fs |
Hans-G?nter@21393 | 55 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher |
al@17988 | 56 |
al@17988 | 57 cp -a $install/usr/share/desktop-directories $fs/usr/share |
al@17988 | 58 |
slaxemulator@8950 | 59 #cp -a $stuff/background $fs/usr/share/lxlauncher |
slaxemulator@8950 | 60 #background="internet learn play settings work" |
slaxemulator@8950 | 61 #for i in $background; do |
slaxemulator@8950 | 62 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg |
slaxemulator@8950 | 63 #done |
al@17988 | 64 |
gokhlayeh@8887 | 65 chown -R root.root $fs |
pankso@796 | 66 } |