wok-next annotate gtk-doc/receipt @ rev 20188

collectd-apache: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 20:48:23 2017 +0100 (2017-11-02)
parents b7a457d78428
children 0e7893ac206d
rev   line source
pascal@11320 1 # SliTaz package receipt.
pascal@11320 2
pascal@11320 3 PACKAGE="gtk-doc"
al@19607 4 VERSION="1.25"
pascal@11320 5 CATEGORY="development"
pascal@11320 6 SHORT_DESC="Generate API documentation from comments added to C code."
pascal@11320 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15589 8 LICENSE="GPL3"
al@19607 9 WEB_SITE="https://www.gtk.org/gtk-doc/"
al@19607 10
pascal@11320 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@11320 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pascal@11320 13
al@19693 14 DEPENDS="docbook-xsl"
al@19607 15 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl itstool gettext"
pascal@11320 16
pascal@11320 17 # Rules to configure and make the package.
pascal@11320 18 compile_rules()
pascal@11320 19 {
pascal@11320 20 ./configure \
pascal@11320 21 --prefix=/usr \
pascal@11320 22 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
pascal@11320 23 make &&
pascal@11320 24 make DESTDIR=$DESTDIR install
pascal@11320 25 }
pascal@11320 26
al@18663 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18663 28 genpkg_rules()
pascal@11320 29 {
pascal@15589 30 cp -a $install/usr $fs
pascal@11320 31 }
al@19610 32
al@19610 33 post_install()
al@19610 34 {
al@19610 35 mkdir -p "$1/usr/share/gtk-doc/html"
al@19610 36 }