wok view xfce4-session/receipt @ rev 5505
Up: rssyl* (0.27)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 08 09:30:06 2010 +0200 (2010-05-08) |
parents | 413b0174114a |
children | ccf7ab705312 |
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 xorg-iceauth \
9 dbus-glib libglade"
10 SUGGESTED="perl-xml-parser"
11 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libwnck-dev xorg-iceauth"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org/"
14 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-dbus \
23 --enable-final \
24 --disable-gnome \
25 --disable-debug \
26 --libexecdir=/usr/lib/$PACKAGE \
27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib \
35 $fs/usr/share/locale \
36 $fs/sbin
38 cp -a $_pkg/etc $fs/
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
41 cp -a $_pkg/usr/lib $fs/usr
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/share/applications $fs/usr/share
44 cp -a $_pkg/usr/share/icons $fs/usr/share
45 cp -a $_pkg/usr/share/themes $fs/usr/share
46 #cp -a $_pkg/usr/share/xfce4 $fs/usr/share
48 # xfce4-session-logout workarround
49 cp stuff/shutdown $fs/sbin
51 # strip all files
52 strip -s $fs/usr/lib/$PACKAGE/xf*
54 # remove autostartfile
55 rm -f $fs/etc/xdg/autostart/*
57 # Remove unecessary files
58 find $fs/ -name "*.*a" -exec rm -f {} \;
59 rm -rf $fs/usr/lib/pkgconfig
60 # Remove SVG icons
61 rm -rf $fs/usr/share/icons/hicolor/scalable
62 }