### this file is sourced not run
PKGVER=1.3.1
PKGBUILD=1
PKGARCH=i686

# source: post-BLFS 7.8 2015-12-24
TARBALL=libepoxy-$PKGVER.tar.bz2
MD5SUM=96f6620a9b005a503e7b44b0b528287d
SRC_URL=https://github.com/anholt/libepoxy/releases/download/v${PKGVER}/$TARBALL
BUNDLE=

SLACKREQ='' # mesa, or any other opengl library, really
SLACKDESC="libepoxy32: libepoxy $PKGVER (OpenGL helper library)  
libepoxy32:  
libepoxy32: Epoxy is a library for handling OpenGL function pointer management 
libepoxy32: for you. It hides the complexity of dlopen(), dlsym(), 
libepoxy32: glXGetProcAddress(), eglGetProcAddress(), etc. from the app 
libepoxy32: developer, with very little knowledge needed on their part. They get 
libepoxy32: to read GL specs and write code using undecorated function names 
libepoxy32: like glCompileShader().  
libepoxy32: 
libepoxy32: https://github.com/anholt/libepoxy
libepoxy32: This contains 32-bit version of the library
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	cd /tmp/libepoxy*
	#./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
