wok-stable view lxlauncher/receipt @ rev 8833
Fix: tazdev receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 16:18:46 2011 +0100 (2011-02-24) |
parents | 2e55de4816a6 |
children | 817385d8b34f |
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 # Default icons to 32
20 sed -i s/'120'/'100'/ src/lxlauncher.c
21 sed -i s/'48'/'32'/ src/lxlauncher.c
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/lxlauncher
34 cp -a $_pkg/usr/bin $fs/usr
35 # SliTaz home make config files
36 cp stuff/gtkrc $fs/usr/share/lxlauncher
37 #cp -a stuff/background $fs/usr/share/lxlauncher
38 chown -R root.root $fs
39 }