wok-current view gtk-doc/receipt @ rev 15758

gtk-doc: create /usr/share/gtk-doc/html dir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 04 21:28:40 2014 +0000 (2014-01-04)
parents d1c17bd2c2bc
children 124c3a7da04f
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-doc"
4 VERSION="1.18"
5 CATEGORY="development"
6 SHORT_DESC="Generate API documentation from comments added to C code."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gtk.org/gtk-doc/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 #http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz
14 BUILD_DEPENDS="docbook-xml docbook-xsl libxslt python perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 mkdir -p $fs/usr/share/gtk-doc/html
34 }