wok annotate gtk-doc/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents b10d41313e54
children
rev   line source
pascal@11320 1 # SliTaz package receipt.
pascal@11320 2
pascal@11320 3 PACKAGE="gtk-doc"
Hans-G?nter@22897 4 VERSION="1.32"
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"
pascal@23193 9 WEB_SITE="https://www.gtk.org/"
Hans-G?nter@22897 10
pascal@11320 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22897 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@11320 13
pascal@23045 14 DEPENDS="py3k"
Hans-G?nter@22897 15 BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl py3k"
pascal@11320 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pascal@11320 23 # Rules to configure and make the package.
pascal@11320 24 compile_rules()
pascal@11320 25 {
Hans-G?nter@22897 26 ./configure \
Hans-G?nter@22897 27 --prefix=/usr \
Hans-G?nter@22897 28 --sysconfdir=/etc \
Hans-G?nter@22897 29 --build=$HOST_SYSTEM \
Hans-G?nter@22897 30 --host=$HOST_SYSTEM &&
pascal@11320 31 make &&
pascal@11320 32 make DESTDIR=$DESTDIR install
pascal@11320 33 }
pascal@11320 34
al@18663 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18663 36 genpkg_rules()
pascal@11320 37 {
pascal@15758 38 mkdir -p $fs/usr/share/gtk-doc/html
Hans-G?nter@22897 39 cp -a $install/usr $fs
pascal@11320 40 }