wok-next view lxlauncher/receipt @ rev 20442
linux-dev: fix defconfig for 32bit; refuse linux-uml on 32bit too because of compiling errors
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 10:43:01 2018 +0200 (2018-02-24) |
parents | fec0eeb8fbaf |
children | 7639f09792cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxlauncher"
4 VERSION="0.2.4"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE launcher for netbooks"
7 LICENSE="GPL3"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.lxde.org/en/LXLauncher"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE netbook"
14 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
16 menu-cache-dev startup-notification-dev startup-notification libxcb-dev \
17 intltool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
23 ## Fix infinite loop.
24 #touch po/stamp-it
25 ## Default icons to 32
26 #sed -i s/'120'/'100'/ src/lxlauncher.c
27 #sed -i s/'48'/'32'/ src/lxlauncher.c
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
43 # SliTaz home make config files
44 cp -a $install/etc $fs
45 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
47 cp -a $install/usr/share/desktop-directories $fs/usr/share
49 #cp -a $stuff/background $fs/usr/share/lxlauncher
50 #background="internet learn play settings work"
51 #for i in $background; do
52 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
53 #done
55 chown -R root.root $fs
56 }