wok view lxlauncher/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 180119c209e8 |
children |
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://www.lxde.org/"
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
26 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
33 ## Fix infinite loop.
34 #touch po/stamp-it
35 ## Default icons to 32
36 #sed -i s/'120'/'100'/ src/lxlauncher.c
37 #sed -i s/'48'/'32'/ src/lxlauncher.c
39 ./configure \
40 --prefix=/usr \
41 --sysconfdir=/etc \
42 $CONFIGURE_ARGS &&
43 make -j 1 &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share
52 cp -a $install/usr/bin $fs/usr
54 # SliTaz home make config files
55 cp -a $install/etc $fs
56 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
58 cp -a $install/usr/share/desktop-directories $fs/usr/share
60 #cp -a $stuff/background $fs/usr/share/lxlauncher
61 #background="internet learn play settings work"
62 #for i in $background; do
63 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
64 #done
66 chown -R root.root $fs
67 }