wok view lxlauncher/receipt @ rev 2638

Up: slitaz-base-files + slitaz-doc and back to a cooking wok
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 22:00:31 2009 +0200 (2009-04-16)
parents d04823a784db
children 2d6921efeca8
line source
1 # SliTaz package receipt.
3 PACKAGE="lxlauncher"
4 VERSION="0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE desktop launcher."
7 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification xorg-libXdamage"
8 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev startup-notification gnome-menus gnome-menus-dev"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://lxde.org/"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Default icons to 32
19 sed -i s/'120'/'100'/ src/lxlauncher.c
20 sed -i s/'48'/'32'/ src/lxlauncher.c
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/lxlauncher
33 cp -a $_pkg/usr/bin $fs/usr
34 # SliTaz home make config files
35 cp stuff/gtkrc $fs/usr/share/lxlauncher
36 #cp -a stuff/background $fs/usr/share/lxlauncher
37 chown -R root.root $fs
38 }