2015-10-12 01:15:05 +02:00
|
|
|
# Template file for 'lua51-BitOp'
|
2015-06-12 17:44:39 +02:00
|
|
|
pkgname=lua51-BitOp
|
|
|
|
version=1.0.2
|
2015-10-12 01:15:05 +02:00
|
|
|
revision=3
|
2015-06-12 17:44:39 +02:00
|
|
|
makedepends="lua51-devel lua51"
|
|
|
|
hostmakedepends="lua51"
|
|
|
|
depends="lua51"
|
|
|
|
short_desc="C extension module for Lua which adds bitwise operations on numbers"
|
|
|
|
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://bitop.luajit.org/"
|
|
|
|
distfiles="${homepage}/download/LuaBitOp-${version}.tar.gz"
|
|
|
|
checksum=1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99
|
|
|
|
build_style=gnu-makefile
|
|
|
|
wrksrc="LuaBitOp-${version}"
|
2015-06-17 11:54:11 +02:00
|
|
|
make_build_args="INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/lua5.1"
|
2015-06-12 17:44:39 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
mod_path="${DESTDIR}$(lua5.1 installpath.lua bit)"
|
|
|
|
lua_path=$(dirname $mod_path)
|
|
|
|
install -dm0755 "$lua_path"
|
|
|
|
install -p bit.so "$mod_path"
|
2015-10-12 01:15:05 +02:00
|
|
|
vlicense README
|
2015-06-12 17:44:39 +02:00
|
|
|
}
|