wok-stable view lxlauncher/receipt @ rev 1448
libwrap: apply patch once
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 10:34:56 2008 +0000 (2008-10-03) |
parents | 8c93080d5e71 |
children | f0e0e1fd3f1b |
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+"
8 BUILD_DEPENDS="xorg-libX11-dev gtk+-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 }