void-packages/srcpkgs/luasocket/template

29 lines
877 B
Plaintext
Raw Normal View History

# Template file for 'luasocket'
pkgname=luasocket
version=2.0.2
2013-10-10 11:46:31 +02:00
revision=2
build_style=gnu-makefile
2013-10-10 11:46:31 +02:00
makedepends="lua51-devel"
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."
2013-10-10 11:49:55 +02:00
do_build() {
make LUAINC=-I/usr/include/lua5.1 ${makejobs}
}
luasocket_package() {
2013-10-10 11:46:31 +02:00
depends="lua51"
pkg_install() {
2013-10-10 11:46:31 +02:00
vmove all
}
}