wok-current annotate xfce4-session/receipt @ rev 15965

xorg-libXau: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 15:44:41 2014 +0100 (2014-02-24)
parents e5c178038a0e
children c099d9544de5
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-session"
erjo@14826 4 VERSION="4.10.0"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce session manager"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
erjo@2073 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 10 WEB_SITE="http://www.xfce.org/"
slaxemulator@8621 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14835 12 SUGGESTED="perl-xml-parser"
pascal@14835 13
pascal@14835 14 DEPENDS="libxfce4util libxfce4ui libwnck dbus-glib libglade xorg-iceauth"
pascal@14835 15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev \
pascal@14835 16 dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev"
erjo@2073 17
erjo@2073 18 # Rules to configure and make the package.
erjo@2073 19 compile_rules()
erjo@2073 20 {
erjo@2073 21 cd $src
erjo@2073 22 ./configure --prefix=/usr \
erjo@2073 23 --sysconfdir=/etc \
erjo@8023 24 --enable-panel-plugin \
erjo@2073 25 --disable-gnome \
erjo@4130 26 --disable-debug \
pascal@4232 27 --libexecdir=/usr/lib/$PACKAGE \
pascal@14836 28 --mandir=/usr/share/man $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
pascal@14836 29 make &&
pascal@14835 30 make DESTDIR=$DESTDIR install
erjo@2073 31 }
erjo@2073 32
erjo@2073 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 34 genpkg_rules()
erjo@2073 35 {
pascal@4232 36 mkdir -p $fs/usr/lib \
erjo@2073 37 $fs/usr/share/locale \
erjo@4183 38 $fs/sbin
erjo@4183 39
pascal@14835 40 cp -a $install/etc $fs/
pascal@14835 41 cp -a $install/usr/bin $fs/usr
pascal@14835 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14835 43 cp -a $install/usr/lib/xfce4 $fs/usr/lib
pascal@14835 44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@14835 45 cp -a $install/usr/share/applications $fs/usr/share
pascal@14835 46 cp -a $install/usr/share/icons $fs/usr/share
pascal@14835 47 cp -a $install/usr/share/themes $fs/usr/share
pascal@14835 48 #cp -a $install/usr/share/xfce4 $fs/usr/share
erjo@4183 49
erjo@4183 50 # xfce4-session-logout workarround
erjo@4183 51 cp stuff/shutdown $fs/sbin
erjo@4130 52
erjo@4130 53 # strip all files
erjo@8023 54 #strip -s $fs/usr/lib/$PACKAGE/xf*
erjo@4130 55
erjo@4130 56 # remove autostartfile
erjo@4130 57 rm -f $fs/etc/xdg/autostart/*
erjo@2073 58
erjo@2073 59 # Remove unecessary files
erjo@2073 60 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@8023 61
erjo@2073 62 # Remove SVG icons
erjo@2073 63 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2073 64 }
erjo@2073 65