wok annotate gtk-doc/receipt @ rev 18442
jsoncpp: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 11:29:26 2015 +0200 (2015-09-24) |
parents | d1c17bd2c2bc |
children | 124c3a7da04f |
rev | line source |
---|---|
pascal@11320 | 1 # SliTaz package receipt. |
pascal@11320 | 2 |
pascal@11320 | 3 PACKAGE="gtk-doc" |
pascal@11320 | 4 VERSION="1.18" |
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@11320 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@11320 | 10 WEB_SITE="http://www.gtk.org/gtk-doc/" |
pascal@11320 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pascal@11320 | 12 #http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz |
pascal@11320 | 13 |
pascal@11320 | 14 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl" |
pascal@11320 | 15 |
pascal@11320 | 16 # Rules to configure and make the package. |
pascal@11320 | 17 compile_rules() |
pascal@11320 | 18 { |
pascal@11320 | 19 cd $src |
pascal@11320 | 20 |
pascal@11320 | 21 ./configure \ |
pascal@11320 | 22 --prefix=/usr \ |
pascal@11320 | 23 --sysconfdir=/etc \ |
pascal@11320 | 24 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && |
pascal@11320 | 25 make && |
pascal@11320 | 26 make DESTDIR=$DESTDIR install |
pascal@11320 | 27 } |
pascal@11320 | 28 |
pascal@11320 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11320 | 30 genpkg_rules() |
pascal@11320 | 31 { |
pascal@15589 | 32 cp -a $install/usr $fs |
pascal@15758 | 33 mkdir -p $fs/usr/share/gtk-doc/html |
pascal@11320 | 34 } |