wok-6.x view xfce4-session/receipt @ rev 23559
updated python-setuptools (41.0.1 -> 46.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 07:41:09 2020 +0100 (2020-04-07) |
parents | c37ae188e486 |
children | 17091bc7c301 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.12.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="https://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 \
17 xcb-util-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --enable-panel-plugin \
26 --disable-gnome \
27 --disable-debug \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --mandir=/usr/share/man $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib \
38 $fs/usr/share/locale \
39 $fs/sbin
41 cp -a $install/etc $fs/
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/xfce4 $fs/usr/lib
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 }