void-packages/srcpkgs/luasocket/template

22 lines
819 B
Text

# Template file for 'luasocket'
pkgname=luasocket
version=2.0.2
revision=2
build_style=gnu-makefile
makedepends="lua51-devel"
depends="lua51"
short_desc="Network support for the Lua language "
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
homepage="http://www.cs.princeton.edu/~diego/professional/luasocket/"
distfiles="http://luaforge.net/frs/download.php/2664/luasocket-$version.tar.gz"
checksum=4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6
long_desc="
LuaSocket is a Lua extension library that is composed by two parts: a C core
that provides support for the TCP and UDP transport layers, and a set of Lua
modules that add support for functionality commonly needed by applications
that deal with the Internet."
do_build() {
make LUAINC=-I/usr/include/lua5.1 ${makejobs}
}