wok-current view xfce4-session/receipt @ rev 17783
Up: llvm 3.6
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 20:18:37 2015 +0000 (2015-03-14) |
parents | f4c22f009037 |
children | 9053833522ce |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.11.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="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/applications $fs/usr/share
45 cp -a $install/usr/share/icons $fs/usr/share
46 cp -a $install/usr/share/themes $fs/usr/share
47 #cp -a $install/usr/share/xfce4 $fs/usr/share
49 # xfce4-session-logout workarround
50 cp stuff/shutdown $fs/sbin
52 # strip all files
53 #strip -s $fs/usr/lib/$PACKAGE/xf*
55 # remove autostartfile
56 rm -f $fs/etc/xdg/autostart/*
58 # Remove unecessary files
59 find $fs/ -name "*.*a" -exec rm -f {} \;
61 # Remove SVG icons
62 rm -rf $fs/usr/share/icons/hicolor/scalable
63 }