wok-current view xfce-utils/receipt @ rev 7710

merge
author fireflyoo <lufeng369@gmail.com>
date Sun Dec 19 23:29:00 2010 +0800 (2010-12-19)
parents f165fed5166c
children 7073c548a510
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce-utils"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce utilities"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 startup-notification dbus-glib"
9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --sysconfdir=/etc \
20 --disable-gdm \
21 --enable-dbus \
22 --disable-debug \
23 --with-browser=firefox \
24 --with-terminal=xterm \
25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
26 make && 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 $fs/usr/share/locale
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/etc $fs/
35 cp -a $_pkg/usr/share/icons $fs/usr/share
36 cp -a $_pkg/usr/share/dbus* $fs/usr/share
37 cp -a $_pkg/usr/share/icons $fs/usr/share
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
40 #Fix perms
41 chmod 755 $fs/usr/bin/*
42 }