wok view libxfce4util/receipt @ rev 24594

updated getmail (5.14 -> 5.16)
author Hans-G?nter Theisgen
date Tue Mar 01 15:05:47 2022 +0100 (2022-03-01)
parents 251c25e029b0
children bd7510903310
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="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev intltool pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr \
29 --infodir=/usr/share/info \
30 --disable-debug \
31 --mandir=/usr/share/man $CONFIGURE_ARGS && \
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr \
39 $fs/usr/lib \
40 $fs/usr/share/locale
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
45 }