mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
New package: lua-BitOp-1.0.1
This commit is contained in:
parent
772f284f36
commit
df045aa9df
1 changed files with 23 additions and 0 deletions
23
srcpkgs/lua-BitOp/template
Normal file
23
srcpkgs/lua-BitOp/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'lua-BitOp'
|
||||||
|
pkgname=lua-BitOp
|
||||||
|
version=1.0.2
|
||||||
|
revision=1
|
||||||
|
makedepends="lua-devel>=5.2 lua>=5.2"
|
||||||
|
hostmakedepends="lua>=5.2"
|
||||||
|
depends="lua>=5.2"
|
||||||
|
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}"
|
||||||
|
make_build_args="INCLUDES=-I/usr/include"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mod_path="${DESTDIR}$(lua installpath.lua bit)"
|
||||||
|
lua_path=$(dirname $mod_path)
|
||||||
|
install -dm0755 "$lua_path"
|
||||||
|
install -p bit.so "$mod_path"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue