void-packages/srcpkgs/lua51-luasocket/template
2020-07-01 18:20:24 +02:00

28 lines
775 B
Bash

# Template file for 'lua51-luasocket'
pkgname=lua51-luasocket
version=2.0.2
revision=7
wrksrc=luasocket-${version}
build_style=gnu-makefile
makedepends="lua51-devel"
depends="lua51"
short_desc="Network support for the Lua language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://w3.impa.br/~diego/software/luasocket/"
distfiles="http://luaforge.net/frs/download.php/2664/luasocket-${version}.tar.gz"
checksum=4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6
do_build() {
make CC=$CC LD=$CC LUAINC=-I${XBPS_CROSS_BASE}/usr/include/lua5.1 ${makejobs}
}
post_install() {
vlicense LICENSE
}
luasocket_package() {
depends="lua51-luasocket>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}