wok view xfce4-session/receipt @ rev 25715
xfce4-session: removed cook_copy_folders applications
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 15 07:07:08 2024 +0100 (5 months ago) |
parents | ce361158cadd |
children | 7fad0a6f7a22 |
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 WEB_SITE="https://www.xfce.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="perl-xml-parser xfce-session-lang"
15 DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xorg-iceauth"
16 BUILD_DEPENDS="dbus-dev dbus-glib-dev intltool libglade-dev libwnck-dev
17 libxfce4ui-dev libxfce4util-dev pkg-config util-linux-uuid-dev
18 xcb-util-dev xfconf-dev xorg-iceauth"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
24 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # 4.12.0 --enable-panel-plugin removed as unrecognised
32 # 4.12.0 --disable-gnome removed as unrecognised
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 --sysconfdir=/etc \
37 --libexecdir=/usr/lib/$PACKAGE \
38 --disable-debug \
39 --enable-nls \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install DESTDIR=$DESTDIR
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cook_copy_folders bin
49 cook_copy_folders etc
50 cook_copy_files *.so*
51 cp -a $install/usr/lib/xfce4 $fs/usr/lib
52 cook_copy_folders icons
53 cook_copy_folders themes
54 cook_copy_folders xsessions
56 # xfce4-session-logout workarround
57 cp stuff/shutdown $fs/sbin
59 # strip all files
60 #strip -s $fs/usr/lib/$PACKAGE/xf*
62 # remove autostartfile
63 rm -f $fs/etc/xdg/autostart/*
65 # Remove SVG icons
66 rm -rf $fs/usr/share/icons/hicolor/scalable
67 }