wok view lxlauncher/receipt @ rev 13015
Up: bison (2.5.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 08 21:02:10 2012 +0200 (2012-06-08) |
parents | e55f2df34161 |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxlauncher"
4 VERSION="0.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE desktop launcher."
7 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
9 menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
10 MAINTAINER="pankso@slitaz.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://lxde.org/"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
20 # Fix infinite loop.
21 touch po/stamp-it
22 # Default icons to 32
23 sed -i s/'120'/'100'/ src/lxlauncher.c
24 sed -i s/'48'/'32'/ src/lxlauncher.c
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/lxlauncher
37 cp -a $_pkg/usr/bin $fs/usr
38 # SliTaz home make config files
39 cp $stuff/gtkrc $fs/usr/share/lxlauncher
40 #cp -a $stuff/background $fs/usr/share/lxlauncher
41 #background="internet learn play settings work"
42 #for i in $background; do
43 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
44 #done
45 chown -R root.root $fs
46 }