### this file is sourced not run
PKGVER=1.8.14
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 8.2
TARBALL=doxygen-$PKGVER.src.tar.gz
MD5SUM=41d8821133e8d8104280030553e2b42b
SRC_URL=http://ftp.stack.nl/pub/doxygen/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="doxygen: doxygen $PKGVER (Documentation generator)  
doxygen:  
doxygen: The Doxygen package contains a documentation system for C++, C, Java, 
doxygen: Objective-C, Corba IDL and to some extent PHP, C# and D. It is useful 
doxygen: for generating HTML documentation and/or an off-line reference manual 
doxygen: from a set of documented source files. There is also support for 
doxygen: generating output in RTF, PostScript, hyperlinked PDF, compressed 
doxygen: HTML, and Unix man pages. The documentation is extracted directly 
doxygen: from the sources, which makes it much easier to keep the 
doxygen: documentation consistent with the source code.  
doxygen:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/doxygen* &&
	
	mkdir -v build &&
	cd       build &&

	cmake -G "Unix Makefiles"         \
		  -DCMAKE_BUILD_TYPE=Release  \
		  -DCMAKE_INSTALL_PREFIX=/usr \
		  -Wno-dev .. &&

	make &&
	make install &&
	install -vm644 ../doc/*.1 /usr/share/man/man1 &&

	pkg_build_slackdesc
}


