wok-current view lxlauncher/receipt @ rev 22648
distcc: typo in $WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 14 11:29:20 2020 +0100 (2020-01-14) |
parents | 6e8b1bcb30e2 |
children | ee53899c6189 |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
25 ## Fix infinite loop.
26 #touch po/stamp-it
27 ## Default icons to 32
28 #sed -i s/'120'/'100'/ src/lxlauncher.c
29 #sed -i s/'48'/'32'/ src/lxlauncher.c
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
46 # SliTaz home make config files
47 cp -a $install/etc $fs
48 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
50 cp -a $install/usr/share/desktop-directories $fs/usr/share
52 #cp -a $stuff/background $fs/usr/share/lxlauncher
53 #background="internet learn play settings work"
54 #for i in $background; do
55 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
56 #done
58 chown -R root.root $fs
59 }