wok-next view gtk-doc/receipt @ rev 21278

updated giac (1.4.9 -> 1.5.0.75)
author Hans-G?nter Theisgen
date Sat Dec 07 16:47:36 2019 +0100 (2019-12-07)
parents 0f2575775b2d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk-doc"
4 VERSION="1.29"
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/gtk-doc/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gtk-doc.html"
11 HOST_ARCH="any"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
15 TARBALL_SHA1="c3dc579d84221c43ce2b0b5f523c46b13525416b"
17 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python3 perl itstool gettext-dev"
18 DEPENDS="docbook-xsl python3-six"
20 COPY="@std @dev gtk-doc/"
22 compile_rules() {
23 # Remove arch-specific prefix from pkg-config filename by defining
24 # PKG_CONFIG variable to make this package really "noarch".
25 # Files affected:
26 # - /usr/bin/gtkdoc-depscan
27 # - /usr/share/gtk-doc/python/gtkdoc/config.py
28 PKG_CONFIG=/usr/bin/pkg-config \
29 ./configure $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 post_install() {
36 mkdir -p "$1/usr/share/gtk-doc/html"
37 }