wok annotate gtk-doc/receipt @ rev 14347
tcc-common: move win32 stuff to tcc-win32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 14 15:20:07 2013 +0200 (2013-04-14) |
parents | |
children | d1c17bd2c2bc |
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@11320 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@11320 | 9 WEB_SITE="http://www.gtk.org/gtk-doc/" |
pascal@11320 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pascal@11320 | 11 #http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz |
pascal@11320 | 12 |
pascal@11320 | 13 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl" |
pascal@11320 | 14 |
pascal@11320 | 15 # Rules to configure and make the package. |
pascal@11320 | 16 compile_rules() |
pascal@11320 | 17 { |
pascal@11320 | 18 cd $src |
pascal@11320 | 19 |
pascal@11320 | 20 ./configure \ |
pascal@11320 | 21 --prefix=/usr \ |
pascal@11320 | 22 --sysconfdir=/etc \ |
pascal@11320 | 23 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && |
pascal@11320 | 24 make && |
pascal@11320 | 25 make DESTDIR=$DESTDIR install |
pascal@11320 | 26 } |
pascal@11320 | 27 |
pascal@11320 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11320 | 29 genpkg_rules() |
pascal@11320 | 30 { |
pascal@11320 | 31 cp -a $_pkg/usr $fs |
pascal@11320 | 32 } |