wok-current view xfce4-session/receipt @ rev 14987

Up: thunderbird-langpack-zh_TW (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:18 2013 +0200 (2013-08-08)
parents 1474fbd94571
children f4c22f009037
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENCE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org/"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
12 SUGGESTED="perl-xml-parser"
14 DEPENDS="libxfce4util libxfce4ui libwnck dbus-glib libglade xorg-iceauth"
15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev \
16 dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --enable-panel-plugin \
25 --disable-gnome \
26 --disable-debug \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --mandir=/usr/share/man $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib \
37 $fs/usr/share/locale \
38 $fs/sbin
40 cp -a $install/etc $fs/
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/xfce4 $fs/usr/lib
44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/themes $fs/usr/share
48 #cp -a $install/usr/share/xfce4 $fs/usr/share
50 # xfce4-session-logout workarround
51 cp stuff/shutdown $fs/sbin
53 # strip all files
54 #strip -s $fs/usr/lib/$PACKAGE/xf*
56 # remove autostartfile
57 rm -f $fs/etc/xdg/autostart/*
59 # Remove unecessary files
60 find $fs/ -name "*.*a" -exec rm -f {} \;
62 # Remove SVG icons
63 rm -rf $fs/usr/share/icons/hicolor/scalable
64 }