wok annotate xfce-utils/receipt @ rev 8547

imported patch get/dillo-hg
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 214dd2d44a7b
children 7a33762c5359
rev   line source
erjo@2074 1 # SliTaz package receipt.
erjo@2074 2
erjo@2074 3 PACKAGE="xfce-utils"
slaxemulator@8281 4 VERSION="4.8.1"
erjo@2074 5 CATEGORY="x-window"
erjo@2074 6 SHORT_DESC="Xfce utilities"
erjo@2074 7 MAINTAINER="erjo@slitaz.org"
erjo@8020 8 DEPENDS="libxfce4util libxfce4ui startup-notification dbus-glib"
gokhlayeh@8039 9 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool"
erjo@2074 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2074 11 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2074 13
erjo@2074 14 # Rules to configure and make the package.
erjo@2074 15 compile_rules()
erjo@2074 16 {
erjo@2074 17 cd $src
erjo@2074 18 ./configure --prefix=/usr \
erjo@2074 19 --sysconfdir=/etc \
erjo@2074 20 --disable-gdm \
erjo@2074 21 --enable-dbus \
erjo@2074 22 --disable-debug \
erjo@8020 23 --with-browser=browser \
erjo@4136 24 --with-terminal=xterm \
erjo@2074 25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2074 26 make && make DESTDIR=$PWD/_pkg install
erjo@2074 27 }
erjo@2074 28
erjo@2074 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2074 30 genpkg_rules()
erjo@2074 31 {
erjo@2074 32 mkdir -p $fs/usr $fs/usr/share/locale
erjo@2074 33 cp -a $_pkg/usr/bin $fs/usr
erjo@2074 34 cp -a $_pkg/etc $fs/
erjo@2074 35 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2074 36 cp -a $_pkg/usr/share/dbus* $fs/usr/share
erjo@2074 37 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2074 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2074 39
erjo@4179 40 #Fix perms
erjo@4179 41 chmod 755 $fs/usr/bin/*
erjo@2074 42 }
erjo@2074 43