wok-next annotate gtk-doc/receipt @ rev 19641
Add libpng12; up libpng & apng tools.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 15 18:52:32 2017 +0200 (2017-02-15) |
parents | 35a20e111081 |
children | 4048d48a47c1 |
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@19607 | 14 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl itstool gettext" |
pascal@11320 | 15 |
pascal@11320 | 16 # Rules to configure and make the package. |
pascal@11320 | 17 compile_rules() |
pascal@11320 | 18 { |
pascal@11320 | 19 ./configure \ |
pascal@11320 | 20 --prefix=/usr \ |
pascal@11320 | 21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && |
pascal@11320 | 22 make && |
pascal@11320 | 23 make DESTDIR=$DESTDIR install |
pascal@11320 | 24 } |
pascal@11320 | 25 |
al@18663 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18663 | 27 genpkg_rules() |
pascal@11320 | 28 { |
pascal@15589 | 29 cp -a $install/usr $fs |
pascal@11320 | 30 } |
al@19610 | 31 |
al@19610 | 32 post_install() |
al@19610 | 33 { |
al@19610 | 34 mkdir -p "$1/usr/share/gtk-doc/html" |
al@19610 | 35 } |