wok view lxlauncher/receipt @ rev 9118

glibc-dev: ensure necessary packages are built
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:14:44 2011 +0100 (2011-03-05)
parents 6764e22b39a6
children 1adac4b0fd89
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 # Fix infinite loop.
20 touch po/stamp-it
21 # Default icons to 32
22 sed -i s/'120'/'100'/ src/lxlauncher.c
23 sed -i s/'48'/'32'/ src/lxlauncher.c
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/lxlauncher
36 cp -a $_pkg/usr/bin $fs/usr
37 # SliTaz home make config files
38 cp $stuff/gtkrc $fs/usr/share/lxlauncher
39 #cp -a $stuff/background $fs/usr/share/lxlauncher
40 #background="internet learn play settings work"
41 #for i in $background; do
42 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
43 #done
44 chown -R root.root $fs
45 }