wok annotate xfce4-session/receipt @ rev 4137

Fix: libexo, add herlpers patch
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:31:05 2009 +0000 (2009-09-20)
parents 422f5813b998
children 34ae067070b1
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-session"
erjo@4130 4 VERSION="4.6.1"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce session manager"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
erjo@4130 8 DEPENDS="libxfce4util libxfcegui4 libwnck perl-xml-parser xorg-iceauth"
erjo@4130 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libwnck-dev xorg-iceauth libiconv"
erjo@2073 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 11 WEB_SITE="http://www.xfce.org/"
erjo@4130 12 WGET_URL="http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL
erjo@4130 13 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
erjo@2073 14
erjo@2073 15 # Rules to configure and make the package.
erjo@2073 16 compile_rules()
erjo@2073 17 {
erjo@2073 18 cd $src
erjo@2073 19 ./configure --prefix=/usr \
erjo@2073 20 --sysconfdir=/etc \
erjo@2073 21 --enable-dbus \
erjo@2073 22 --enable-final \
erjo@2073 23 --disable-gnome \
erjo@4130 24 --disable-debug \
erjo@2073 25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2073 26 make && make DESTDIR=$PWD/_pkg install
erjo@2073 27 }
erjo@2073 28
erjo@2073 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 30 genpkg_rules()
erjo@2073 31 {
erjo@2073 32 mkdir -p $fs/usr \
erjo@2073 33 $fs/usr/share/locale \
erjo@2073 34 $fs/usr/lib/xfce4/mcs-plugins
erjo@2073 35
erjo@2073 36 cp -a $_pkg/etc $fs/
erjo@2073 37 cp -a $_pkg/usr/bin $fs/usr
erjo@2073 38 cp -a $_pkg/usr/libexec $fs/usr
erjo@2073 39 cp -a $_pkg/usr/lib $fs/usr
erjo@2073 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2073 41 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2073 42 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2073 43 cp -a $_pkg/usr/share/themes $fs/usr/share
erjo@2073 44 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@4130 45
erjo@4130 46 # strip all files
erjo@4130 47 strip -s $fs/usr/libexec/xf*
erjo@4130 48
erjo@4130 49 # remove autostartfile
erjo@4130 50 rm -f $fs/etc/xdg/autostart/*
erjo@2073 51
erjo@2073 52 # Remove unecessary files
erjo@2073 53 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2073 54 rm -rf $fs/usr/lib/pkgconfig
erjo@2073 55 # Remove SVG icons
erjo@2073 56 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2073 57 }
erjo@2073 58