wok view gtk-doc/receipt @ rev 25652

Up ntfs-3g (2022.10.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 06 11:59:08 2024 +0000 (9 months ago)
parents b10d41313e54
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="py3k"
15 BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl py3k"
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 }