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

# source: BLFS svn 2018-5-26
TARBALL=libepoxy-$PKGVER.tar.xz
MD5SUM=4a6b9e581da229dee74c2263c84b1eca
SRC_URL=https://github.com/anholt/libepoxy/releases/download/${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
}
