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

# source: BLFS 8.2 updated for 1.8.17
TARBALL=doxygen-$PKGVER.src.tar.gz
MD5SUM=7997a15c73a8bd6d003eaba5c2ee2b47
SRC_URL=https://sourceforge.net/projects/doxygen/files/rel-$PKGVER/$TARBALL/download
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
}


