31 lines
805 B
Bash
31 lines
805 B
Bash
# Template file for 'lua51-luasocket'
|
|
pkgname=lua51-luasocket
|
|
version=3.1.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
build_wrksrc=src
|
|
makedepends="lua51-devel"
|
|
depends="lua51"
|
|
short_desc="Network support for the Lua language"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://lunarmodules.github.io/luasocket/"
|
|
distfiles="https://github.com/lunarmodules/luasocket/archive/refs/tags/v3.1.0.tar.gz"
|
|
checksum=bf033aeb9e62bcaa8d007df68c119c966418e8c9ef7e4f2d7e96bddeca9cca6e
|
|
|
|
do_build() {
|
|
make CC=$CC LD=$CC LUAINC=${XBPS_CROSS_BASE}/usr/include/lua5.1 \
|
|
PLAT=linux LUAVER=5.1 \
|
|
${makejobs} all-unix
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../LICENSE
|
|
}
|
|
|
|
luasocket_package() {
|
|
depends="lua51-luasocket>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
build_style=meta
|
|
}
|