wok view xfce-utils/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | bd7510903310 |
children |
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/archive/$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 }