wok-next view lxlauncher/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 1adac4b0fd89 |
children | 17e313b5b9c1 |
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 LICENSE="GPL3"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lxde.org/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
14 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
15 menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
22 # Fix infinite loop.
23 touch po/stamp-it
24 # Default icons to 32
25 sed -i s/'120'/'100'/ src/lxlauncher.c
26 sed -i s/'48'/'32'/ src/lxlauncher.c
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/lxlauncher
39 cp -a $install/usr/bin $fs/usr
40 # SliTaz home make config files
41 cp $stuff/gtkrc $fs/usr/share/lxlauncher
42 #cp -a $stuff/background $fs/usr/share/lxlauncher
43 #background="internet learn play settings work"
44 #for i in $background; do
45 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
46 #done
47 chown -R root.root $fs
48 }