wok-6.x annotate xfce-utils/receipt @ rev 11504

sylpheed-full: fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Dec 22 13:00:12 2011 +0100 (2011-12-22)
parents 0cdfcdc0e0e0
children 73641efed1cc
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@2074 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2074 9 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2074 11
erjo@9869 12 DEPENDS="libxfce4util libxfce4ui startup-notification dbus-glib"
erjo@9869 13 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \
erjo@9869 14 util-linux-ng-uuid-dev dbus-glib-dev"
erjo@9869 15
erjo@2074 16 # Rules to configure and make the package.
erjo@2074 17 compile_rules()
erjo@2074 18 {
erjo@2074 19 cd $src
erjo@2074 20 ./configure --prefix=/usr \
erjo@2074 21 --sysconfdir=/etc \
erjo@2074 22 --enable-dbus \
erjo@2074 23 --disable-debug \
erjo@8020 24 --with-browser=browser \
erjo@4136 25 --with-terminal=xterm \
erjo@2074 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9869 27 make && make DESTDIR=$DESTDIR 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@4179 41 #Fix perms
erjo@4179 42 chmod 755 $fs/usr/bin/*
erjo@2074 43 }
erjo@2074 44