wok-next view lxlauncher/receipt @ rev 8887
Oups... fix lxlauncher again!
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 27 05:13:11 2011 +0100 (2011-02-27) |
parents | 817385d8b34f |
children | e55f2df34161 |
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 chown -R root.root $fs
41 }