wok view libxfce4util/receipt @ rev 25140
updated pigz (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:12:55 2022 +0100 (2022-06-29) |
parents | 17091bc7c301 |
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 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 }