### this file is sourced not run
PKGVER=32.0 # newer version has tons of annoying dependencies
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=lua-posix-v32.tar.gz
MD5SUM=2bfede7b7cee96c5d0f6c0354e17498c
SRC_URL=https://github.com/luaposix/luaposix/archive/release-v32.tar.gz
BUNDLE=

SLACKREQ='lua'
SLACKDESC="lua-posix: lua-posix $PKGVER (POSIX library for Lua)  
lua-posix:  
lua-posix: This is a POSIX library for Lua which enables Lua scripts to access 
lua-posix: low-level system library in a POSIX-compatible system. It also 
lua-posix: includes bindings for curses.  
lua-posix: 
lua-posix: 
lua-posix: 
lua-posix: 
lua-posix: 
lua-posix: https://github.com/luaposix/luaposix 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### pkg_build
pkg_build() {
	cd /tmp/lua* &&
	./bootstrap &&
	./configure --prefix=/usr --libdir=/usr/$LIBDIR/lua/5.2 &&
	make all install &&
	pkg_build_slackdesc	
}

