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

updated smtube (20.1.0 -> 21.10.0)
author Hans-G?nter Theisgen
date Thu Jan 13 14:17:04 2022 +0100 (2022-01-13)
parents b10d41313e54
children 3ad63c8fc2f9
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 }