wok-6.x view xfce-utils/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents 7896f0694ef6
children a4347e8fe6e2
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce-utils"
4 VERSION="4.8.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce utilities"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui startup-notification dbus-glib"
14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \
15 util-linux-uuid-dev dbus-glib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-dbus \
24 --disable-debug \
25 --with-browser=browser \
26 --with-terminal=xterm \
27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/usr/share/locale
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/etc $fs/
37 cp -a $install/usr/share/icons $fs/usr/share
38 cp -a $install/usr/share/dbus* $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
42 #Fix perms
43 chmod 755 $fs/usr/bin/*
44 }