wok view lxlauncher/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 28cbf0d453c8
children 180119c209e8
line source
1 # SliTaz package receipt.
3 PACKAGE="lxlauncher"
4 VERSION="0.2.5"
5 CATEGORY="x-window"
6 TAGS="LXDE netbook"
7 SHORT_DESC="LXDE launcher for netbooks."
8 LICENSE="GPL3"
9 MAINTAINER="pankso@slitaz.org"
10 WEB_SITE="https://wiki.lxde.org/en/LXLauncher"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 DEPENDS="gnome-menus gtk+ menu-cache startup-notification \
16 xorg-libX11 xorg-libXdamage"
17 BUILD_DEPENDS="gnome-menus gnome-menus-dev gtk+-dev libxcb-dev \
18 menu-cache-dev startup-notification \
19 startup-notification-dev xorg-libX11-dev"
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
32 ## Fix infinite loop.
33 #touch po/stamp-it
34 ## Default icons to 32
35 #sed -i s/'120'/'100'/ src/lxlauncher.c
36 #sed -i s/'48'/'32'/ src/lxlauncher.c
38 ./configure \
39 --prefix=/usr \
40 --sysconfdir=/etc \
41 $CONFIGURE_ARGS &&
42 make -j 1 &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share
51 cp -a $install/usr/bin $fs/usr
53 # SliTaz home make config files
54 cp -a $install/etc $fs
55 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
57 cp -a $install/usr/share/desktop-directories $fs/usr/share
59 #cp -a $stuff/background $fs/usr/share/lxlauncher
60 #background="internet learn play settings work"
61 #for i in $background; do
62 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
63 #done
65 chown -R root.root $fs
66 }