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

# source: james
TARBALL=ftgl-$PKGVER.tar.gz
MD5SUM=fba1e1c548ebe3ab362495e96a7a0670
SRC_URL=https://github.com/frankheckenbach/ftgl/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ='freetype2 freeglut' # and opengl, of course, mesa or proprietary
SLACKDESC="libftgl2: libftgl2 $PKGVER (FreeType OpenGL library)
libftgl2: 
libftgl2: FTGL is a free open source library to enable developers to use 
libftgl2: arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike 
libftgl2: other OpenGL font libraries FTGL uses standard font file formats so 
libftgl2: doesn't need a preprocessing step to convert the high quality font 
libftgl2: data into a lesser quality, proprietary format.
libftgl2: 
libftgl2: Fork: https://github.com/frankheckenbach/ftgl/archive/v2.4.0.tar.gz
libftgl2: Original: https://sourceforge.net/projects/ftgl/
libftgl2: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/ftgl* &&
	./autogen.sh &&

	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&

	rm -rf /var/db # don't bother with fontconfig cache
}


