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

# source: kirk (updated with post-7.6 BLFS 2015-02-03)
TARBALL=fltk-1.3.3-source.tar.gz
MD5SUM=9ccdb0d19dc104b87179bd9fd10822e3
SRC_URL=http://fltk.org/pub/fltk/1.3.3/$TARBALL
BUNDLE=

SLACKREQ='libX11 libpng libjpeg-turbo cairo' # doxygen to build docs
SLACKDESC='fltk: fltk 1.3.3 
fltk:  
fltk: The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a
fltk: a cross-platform C++ GUI toolkit. 
fltk: 
fltk: 
fltk: 
fltk: 
fltk: 
fltk: 
fltk:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CFLAGS="$CFLAGS -fPIC"
	CONFFLAGS="$CONFFLAGS --enable-shared --enable-cairo"
	
	cd /tmp/fltk* &&
	sed -i -e '/cat./d' documentation/Makefile 
	pkg_build_autoconf &&
	
	# extra docs
	make -C documentation html &&
	make install && # repeat make install step to insure docs get installed
	make -C documentation install-linux &&
	#make -C test install-linux &&	# don't install sample games

	pkg_build_slackdesc
}


