diff options
Diffstat (limited to 'development/gtk_doc/gtk_doc.build')
-rwxr-xr-x | development/gtk_doc/gtk_doc.build | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/development/gtk_doc/gtk_doc.build b/development/gtk_doc/gtk_doc.build new file mode 100755 index 0000000..6702243 --- /dev/null +++ b/development/gtk_doc/gtk_doc.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk_doc +VERSION=1.18 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gtk_doc +${NAME}: +${NAME}: A tool to document C code. It is typically used to document the +${NAME}: public API of libraries but it can also be used to document +${NAME}: application code. It has some special code to document the signals +${NAME}: and properties of GTK+ widgets and GObject classes which other +${NAME}: tools may not have. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=gtk-doc +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3 FDL11" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} |