wok view lxlauncher/receipt @ rev 900

Linux: compress modules with lzma
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 12 14:01:54 2008 +0000 (2008-06-12)
parents
children e54418505007
line source
1 # SliTaz package receipt.
3 PACKAGE="lxlauncher"
4 VERSION="0.1.6"
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 }