wok-6.x view gnome-doc-utils/receipt @ rev 24213
updated perl-file-which (1.23 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:19:09 2021 +0100 (2021-12-31) |
parents | 86790a278e70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-doc-utils"
4 VERSION="0.20.10"
5 CATEGORY="misc"
6 SHORT_DESC="Documentation utilities for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
14 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \
15 intltool"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --infodir=/usr/share/info \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --disable-scrollkeeper \
31 --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make -j1 &&
33 make -j1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share/locale
40 cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
41 cp -a $install/usr/bin/xml2po $fs/usr/bin
42 cp -a $install/usr/share/xml $fs/usr/share
43 cp -a $install/usr/lib $fs/usr
44 }