wok view xfce4-session/receipt @ rev 24860

updated lionwiki (3.2.9 -> 3.2.12)
author Hans-G?nter Theisgen
date Tue Mar 29 10:26:06 2022 +0100 (2022-03-29)
parents 251c25e029b0
children bd7510903310
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure --prefix=/usr \
32 --sysconfdir=/etc \
33 --enable-panel-plugin \
34 --disable-gnome \
35 --disable-debug \
36 --libexecdir=/usr/lib/$PACKAGE \
37 --mandir=/usr/share/man $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib \
46 $fs/usr/share/locale \
47 $fs/sbin
49 cp -a $install/etc $fs/
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/lib/xfce4 $fs/usr/lib
53 cp -a $install/usr/share/applications $fs/usr/share
54 cp -a $install/usr/share/icons $fs/usr/share
55 cp -a $install/usr/share/themes $fs/usr/share
56 #cp -a $install/usr/share/xfce4 $fs/usr/share
58 # xfce4-session-logout workarround
59 cp stuff/shutdown $fs/sbin
61 # strip all files
62 #strip -s $fs/usr/lib/$PACKAGE/xf*
64 # remove autostartfile
65 rm -f $fs/etc/xdg/autostart/*
67 # Remove unecessary files
68 find $fs/ -name "*.*a" -exec rm -f {} \;
70 # Remove SVG icons
71 rm -rf $fs/usr/share/icons/hicolor/scalable
72 }