wok view libxfce4util/receipt @ rev 25792

created recipe for libxfce4util-lang
author Hans-G?nter Theisgen
date Wed Oct 23 15:07:45 2024 +0100 (4 weeks ago)
parents bd7510903310
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfce4util"
4 VERSION="4.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Utility 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 SUGGESTED="libxfce4util-lang"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev intltool pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --disable-debug \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders sbin
42 cook_copy_files *.so*
43 }