wok annotate xfce-utils/receipt @ rev 3809

Up: tazpkg (3.0) - New commands, improvment and fix
author Christophe Lincoln <pankso@slitaz.org>
date Wed Aug 05 23:26:27 2009 +0200 (2009-08-05)
parents 917290e1ad30
children 4bd6ca8af55d
rev   line source
erjo@2074 1 # SliTaz package receipt.
erjo@2074 2
erjo@2074 3 PACKAGE="xfce-utils"
erjo@2074 4 VERSION="4.4.3"
erjo@2074 5 CATEGORY="x-window"
erjo@2074 6 SHORT_DESC="Xfce utilities"
erjo@2074 7 MAINTAINER="erjo@slitaz.org"
pascal@2528 8 DEPENDS="libxfce4mcs libxfce4util libxfcegui4 xfce-mcs-manager dbus dbus-glib \
pascal@2528 9 xorg-libXdamage"
erjo@2074 10 BUILD_DEPENDS="libxfce4mcs-dev libxfce4util-dev libxfcegui4-dev xfce-mcs-manager-dev"
erjo@2074 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2074 12 WEB_SITE="http://www.xfce.org"
erjo@2074 13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
erjo@2074 14
erjo@2074 15 # Rules to configure and make the package.
erjo@2074 16 compile_rules()
erjo@2074 17 {
erjo@2074 18 cd $src
erjo@2074 19 ./configure --prefix=/usr \
erjo@2074 20 --sysconfdir=/etc \
erjo@2074 21 --disable-gdm \
erjo@2074 22 --enable-dbus \
erjo@2074 23 --disable-debug \
erjo@2074 24 --with-browser=firefox \
erjo@2074 25 --with-terminal=xfterm4 \
erjo@2074 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2074 27 make && make DESTDIR=$PWD/_pkg install
erjo@2074 28 }
erjo@2074 29
erjo@2074 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2074 31 genpkg_rules()
erjo@2074 32 {
erjo@2074 33 mkdir -p $fs/usr $fs/usr/share/locale
erjo@2074 34 cp -a $_pkg/usr/bin $fs/usr
erjo@2074 35 cp -a $_pkg/etc $fs/
erjo@2074 36 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2074 37 cp -a $_pkg/usr/share/dbus* $fs/usr/share
erjo@2074 38 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2074 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2074 40
erjo@2074 41 }
erjo@2074 42