wok annotate xfce4-session/receipt @ rev 17273

tazwikiss: tiny edit
author Richard Dunbar <mojo@slitaz.org>
date Fri Oct 24 12:53:14 2014 -0400 (2014-10-24)
parents f4c22f009037
children 9053833522ce
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-session"
devl547@16303 4 VERSION="4.11.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/applications $fs/usr/share
pascal@14835 45 cp -a $install/usr/share/icons $fs/usr/share
pascal@14835 46 cp -a $install/usr/share/themes $fs/usr/share
pascal@14835 47 #cp -a $install/usr/share/xfce4 $fs/usr/share
erjo@4183 48
erjo@4183 49 # xfce4-session-logout workarround
erjo@4183 50 cp stuff/shutdown $fs/sbin
erjo@4130 51
erjo@4130 52 # strip all files
erjo@8023 53 #strip -s $fs/usr/lib/$PACKAGE/xf*
erjo@4130 54
erjo@4130 55 # remove autostartfile
erjo@4130 56 rm -f $fs/etc/xdg/autostart/*
erjo@2073 57
erjo@2073 58 # Remove unecessary files
erjo@2073 59 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@8023 60
erjo@2073 61 # Remove SVG icons
erjo@2073 62 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2073 63 }
erjo@2073 64