wok annotate xfce4-session/receipt @ rev 21060

updated iptstate (2.2.5 -> 2.2.6)
author Hans-G?nter Theisgen
date Wed Mar 13 16:29:27 2019 +0100 (2019-03-13)
parents 9053833522ce
children c37ae188e486
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"
pascal@20669 10 WEB_SITE="https://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@19744 15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev \
pascal@19744 16 dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev \
pascal@19744 17 xcb-util-dev"
erjo@2073 18
erjo@2073 19 # Rules to configure and make the package.
erjo@2073 20 compile_rules()
erjo@2073 21 {
erjo@2073 22 cd $src
erjo@2073 23 ./configure --prefix=/usr \
erjo@2073 24 --sysconfdir=/etc \
erjo@8023 25 --enable-panel-plugin \
erjo@2073 26 --disable-gnome \
erjo@4130 27 --disable-debug \
pascal@4232 28 --libexecdir=/usr/lib/$PACKAGE \
pascal@14836 29 --mandir=/usr/share/man $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
pascal@14836 30 make &&
pascal@14835 31 make DESTDIR=$DESTDIR install
erjo@2073 32 }
erjo@2073 33
erjo@2073 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 35 genpkg_rules()
erjo@2073 36 {
pascal@4232 37 mkdir -p $fs/usr/lib \
erjo@2073 38 $fs/usr/share/locale \
erjo@4183 39 $fs/sbin
erjo@4183 40
pascal@14835 41 cp -a $install/etc $fs/
pascal@14835 42 cp -a $install/usr/bin $fs/usr
pascal@14835 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14835 44 cp -a $install/usr/lib/xfce4 $fs/usr/lib
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