void-packages/srcpkgs/luasocket/template

18 lines
553 B
Bash

# Template file for 'luasocket'
pkgname=luasocket
version=2.0.2
revision=5
build_style=gnu-makefile
makedepends="lua51-devel"
depends="lua51"
short_desc="Network support for the Lua language "
maintainer="Juan RP <xtraeme@gmail.com>"
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}
}