wok-4.x annotate xfce-utils/receipt @ rev 6431

e2fsprogs: add scripts in libcomerr-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 27 15:04:06 2010 +0200 (2010-09-27)
parents f165fed5166c
children 7073c548a510
rev   line source
erjo@2074 1 # SliTaz package receipt.
erjo@2074 2
erjo@2074 3 PACKAGE="xfce-utils"
erjo@4136 4 VERSION="4.6.1"
erjo@2074 5 CATEGORY="x-window"
erjo@2074 6 SHORT_DESC="Xfce utilities"
erjo@2074 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="libxfce4util libxfcegui4 startup-notification dbus-glib"
erjo@4136 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev"
erjo@2074 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2074 11 WEB_SITE="http://www.xfce.org"
pascal@4214 12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$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@2074 23 --with-browser=firefox \
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