wok view libxfce4ui/receipt @ rev 25506

memtest, pack: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 09 16:28:01 2023 +0000 (21 months ago)
parents 17091bc7c301
children a753bd482ec9
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfce4ui"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Gtk Widget library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
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="gtk+ libxfce4util libxfconf startup-notification dbus-glib libglade \
14 util-linux-uuid"
15 BUILD_DEPENDS="gtk+-dev libxfce4util-dev libxfconf-dev \
16 startup-notification-dev libglade-dev xcb-util-dev util-linux-uuid-dev intltool"
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 ./configure \
30 --sysconfdir=/etc \
31 --disable-debug \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$install install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/etc $fs/
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }