Merge pull request #6053 from CMB/luaposix
luaposix, luaposix51, luaposix52: update to 33.4.0.
This commit is contained in:
commit
5ca0785388
11
srcpkgs/lua51-bitlib/files/Makefile
Normal file
11
srcpkgs/lua51-bitlib/files/Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
LUAVER = 5.1
|
||||||
|
|
||||||
|
LUAPC := lua$(LUAVER)
|
||||||
|
LUA_CFLAGS := $(shell pkg-config --cflags $(LUAPC))
|
||||||
|
|
||||||
|
$(LUAVER)/bit32.so: lbitlib.c
|
||||||
|
mkdir -p $(LUAVER)
|
||||||
|
$(CC) -I c-api $(CFLAGS) $(LUA_CFLAGS) -shared -fPIC $(LDFLAGS) -o $@ $<
|
||||||
|
|
25
srcpkgs/lua51-bitlib/template
Normal file
25
srcpkgs/lua51-bitlib/template
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Template file for 'lua51-bitlib'
|
||||||
|
pkgname=lua51-bitlib
|
||||||
|
version=5.3.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="lua-compat-5.2-bitlib-${version}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="lua51-devel"
|
||||||
|
depends="lua51"
|
||||||
|
short_desc="An implementation of lua 5.2's bit32 library for lua 5.1"
|
||||||
|
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/keplerproject/lua-compat-5.2"
|
||||||
|
distfiles="https://github.com/keplerproject/lua-compat-5.2/archive/bitlib-${version}.tar.gz"
|
||||||
|
checksum=dc1197b9e996b7bd2c6a679b86ed75106d5722424b3e731b8084f56626ec5552
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# Makefile taken from Alpine's aport.
|
||||||
|
cp "${FILESDIR}/Makefile" .
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall 5.1/bit32.so 755 usr/lib/lua/5.1
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
@ -1,22 +1,23 @@
|
|||||||
# Template file for 'luaposix'
|
# Template file for 'luaposix'
|
||||||
pkgname=luaposix
|
pkgname=luaposix
|
||||||
version=5.1.28
|
version=33.4.0
|
||||||
revision=5
|
revision=1
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
wrksrc="${pkgname}-release-v${version}"
|
wrksrc="${pkgname}-release-v${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib/lua/5.2 --datadir=/usr/share/lua/5.2"
|
configure_args="--libdir=/usr/lib/lua/5.3 --datadir=/usr/share/lua/5.3 --docdir=/usr/share/doc/${pkgname}"
|
||||||
hostmakedepends="perl lua52-devel"
|
hostmakedepends="perl lua-devel"
|
||||||
makedepends="ncurses-devel lua52-devel"
|
makedepends="ncurses-devel lua-devel"
|
||||||
depends="lua"
|
depends="lua"
|
||||||
short_desc="A POSIX library for Lua programming language"
|
short_desc="A POSIX library for Lua programming language"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="MIT"
|
||||||
homepage="http://luaforge.net/projects/luaposix/"
|
homepage="http://luaforge.net/projects/luaposix/"
|
||||||
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
||||||
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f
|
checksum=e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
vmkdir usr/share/$pkgname/examples
|
vmkdir usr/share/$pkgname/examples
|
||||||
vcopy "*.lua" usr/share/$pkgname/examples
|
vcopy "examples/*.lua" usr/share/$pkgname/examples
|
||||||
}
|
}
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
# Template file for 'luaposix51'
|
# Template file for 'luaposix51'
|
||||||
pkgname=luaposix51
|
pkgname=luaposix51
|
||||||
version=5.1.28
|
version=33.4.0
|
||||||
revision=3
|
revision=1
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
wrksrc="luaposix-release-v${version}"
|
wrksrc="luaposix-release-v${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
|
configure_args="--libdir=/usr/lib/lua/5.3 --datadir=/usr/share/lua/5.3 --docdir=/usr/share/doc/${pkgname}"
|
||||||
hostmakedepends="perl lua51-devel automake libtool"
|
hostmakedepends="perl lua51-devel automake libtool"
|
||||||
makedepends="ncurses-devel lua51-devel"
|
makedepends="ncurses-devel lua51-devel"
|
||||||
depends="lua51 lua51-BitOp"
|
depends="lua51 lua51-bitlib"
|
||||||
short_desc="A POSIX library for Lua programming language"
|
short_desc="A POSIX library for Lua programming language"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="MIT"
|
||||||
homepage="http://luaforge.net/projects/luaposix/"
|
homepage="http://luaforge.net/projects/luaposix/"
|
||||||
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
||||||
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f
|
checksum=e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21
|
||||||
|
|
||||||
make_build_args="INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/lua5.1"
|
make_build_args="INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/lua5.1"
|
||||||
|
|
||||||
@ -26,6 +26,7 @@ pre_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
vmkdir usr/share/$pkgname/examples
|
vmkdir usr/share/$pkgname/examples
|
||||||
vcopy "*.lua" usr/share/$pkgname/examples
|
vcopy "examples/*.lua" usr/share/$pkgname/examples
|
||||||
}
|
}
|
||||||
|
23
srcpkgs/luaposix52/template
Normal file
23
srcpkgs/luaposix52/template
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Template file for 'luaposix52'
|
||||||
|
pkgname=luaposix52
|
||||||
|
version=33.4.0
|
||||||
|
revision=1
|
||||||
|
lib32disabled=yes
|
||||||
|
wrksrc="luaposix-release-v${version}"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--libdir=/usr/lib/lua/5.3 --datadir=/usr/share/lua/5.3 --docdir=/usr/share/doc/${pkgname}"
|
||||||
|
hostmakedepends="perl lua52-devel"
|
||||||
|
makedepends="ncurses-devel lua52-devel"
|
||||||
|
depends="lua52"
|
||||||
|
short_desc="A POSIX library for Lua programming language"
|
||||||
|
maintainer="Chris Brannon <chris@the-brannons.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="http://luaforge.net/projects/luaposix/"
|
||||||
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
||||||
|
checksum=e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
vmkdir usr/share/$pkgname/examples
|
||||||
|
vcopy "examples/*.lua" usr/share/$pkgname/examples
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user