wok view xfdesktop/receipt @ rev 25192
updated python-formencode (1.2.2 -> 2.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:37:28 2022 +0100 (2022-07-13) |
parents | 17091bc7c301 |
children | 659456031ace |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfdesktop"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Desktop"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
14 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libwnck-dev \
15 xfconf-dev libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool \
16 util-linux-uuid-dev dbus-glib libxfce4ui-dev xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./configure --prefix=/usr \
31 --sysconfdir=/etc \
32 --enable-notifications \
33 --enable-gio-unix \
34 --enable-thunarx \
35 --disable-static \
36 --libexecdir=/usr/lib/$PACKAGE \
37 --mandir=/usr/share/man $CONFIGURE_ARGS && \
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib \
45 $fs/usr/share/locale \
46 $fs/usr/share/xfce4
48 cp -a $install/usr/bin $fs/usr
49 #~ cp -a $install/etc $fs/
50 #~ cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
51 #~ cp -a $install/usr/lib $fs/usr
52 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
53 cp -a $install/usr/share/applications $fs/usr/share
54 #~ cp -a $install/usr/share/desktop-directories $fs/usr/share
55 #~ cp -a $install/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
57 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
59 }