Add WIP recipe for gtk-doc.

* Not working yet, added only because it exposes a bug in haikuporter.
This commit is contained in:
Adrien Destugues
2014-06-16 22:23:06 +02:00
parent 353bbc3707
commit 3d34dc76f3
6 changed files with 341 additions and 24 deletions

View File

@@ -1,24 +0,0 @@
DESCRIPTION="gtk-doc"
HOMEPAGE="http://www.gtk.org/gtk-doc/"
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.15/gtk-doc-1.15.tar.bz2"
CHECKSUM_MD5="c022788b1fbbec30d55df4ccb34eeb90"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="pkgconfig >= 0.23
dev-libs/libxslt >= 1.1.26"
BUILD()
{
cd gtk-doc-1.15
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd gtk-doc-1.15
make install
}
LICENSE="GNU GPL v2
GNU FDL v1.1"
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"

View File

@@ -0,0 +1,43 @@
SUMMARY="Generate documentation from C sources"
DESCRIPTION="
GTK-Doc is a project which was started to generate API documentation from \
comments added to C code. It is typically used to document the public API of \
GTK+ and GNOME libraries, but it can also be used to document application code.
"
HOMEPAGE="http://www.gtk.org/gtk-doc/"
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
CHECKSUM_SHA256="3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011"
REVISION="1"
ARCHITECTURES="x86_gcc2"
PROVIDES="
gtk_doc = $portVersion
"
BUILD_REQUIRES="
docbook_xml_dtd == 4.3
docbook_xsl_stylesheets
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:awk
cmd:gcc
cmd:perl
cmd:pkg_config
cmd:xsltproc
"
SOURCE_DIR="gtk-doc-$portVersion"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"