wok-current view gtk-doc/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-doc"
4 VERSION="1.32"
5 CATEGORY="development"
6 SHORT_DESC="Generate API documentation from comments added to C code."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gtk.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="python3"
15 BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl python3"
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 \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/gtk-doc/html
39 cp -a $install/usr $fs
40 }