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