wok-next view xfce4-session/receipt @ rev 7924
Removed arch patches for GConf. There not working and i don't think we need them.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 22:30:39 2011 +0000 (2011-01-09) |
parents | ccf7ab705312 |
children | 9c447ed38dd5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 libwnck dbus-glib libglade xorg-iceauth"
9 SUGGESTED="perl-xml-parser"
10 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev xfconf-dev libglade-dev dbus-dev dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-ng-uuid-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org/"
13 WGET_URL="$WEB_SITE/archive/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 --libexecdir=/usr/lib/$PACKAGE \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib \
34 $fs/usr/share/locale \
35 $fs/sbin
37 cp -a $_pkg/etc $fs/
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
40 cp -a $_pkg/usr/lib $fs/usr
41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 cp -a $_pkg/usr/share/applications $fs/usr/share
43 cp -a $_pkg/usr/share/icons $fs/usr/share
44 cp -a $_pkg/usr/share/themes $fs/usr/share
45 #cp -a $_pkg/usr/share/xfce4 $fs/usr/share
47 # xfce4-session-logout workarround
48 cp stuff/shutdown $fs/sbin
50 # strip all files
51 strip -s $fs/usr/lib/$PACKAGE/xf*
53 # remove autostartfile
54 rm -f $fs/etc/xdg/autostart/*
56 # Remove unecessary files
57 find $fs/ -name "*.*a" -exec rm -f {} \;
58 rm -rf $fs/usr/lib/pkgconfig
59 # Remove SVG icons
60 rm -rf $fs/usr/share/icons/hicolor/scalable
61 }