wok-6.x view xfce-utils/receipt @ rev 25122

Up apache (2.4.54)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 08:48:09 2022 +0000 (2022-06-28)
parents b7f1bd1b9ac7
children 01119cbefbc3
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce-utils"
4 VERSION="4.8.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce utilities"
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 libxfce4ui startup-notification dbus-glib"
14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \
15 util-linux-uuid-dev dbus-glib-dev libxfcegui4-dev xcb-util-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://gitlab.xfce.org/xfce/libxfce4util/-/tags?sort=updated_desc 2>/dev/null | \
21 sed '/item-title/!d;s|.*util-||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --sysconfdir=/etc \
29 --enable-dbus \
30 --disable-debug \
31 --with-browser=browser \
32 --with-terminal=xterm \
33 --mandir=/usr/share/man $CONFIGURE_ARGS && \
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $fs/usr/share/locale
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/etc $fs/
43 cp -a $install/usr/share/icons $fs/usr/share
44 cp -a $install/usr/share/dbus* $fs/usr/share
45 cp -a $install/usr/share/icons $fs/usr/share
46 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
48 #Fix perms
49 chmod 755 $fs/usr/bin/*
50 }