2013-10-10 11:44:56 +02:00
|
|
|
# Template file for 'luasocket'
|
|
|
|
pkgname=luasocket
|
|
|
|
version=2.0.2
|
2013-10-10 11:46:31 +02:00
|
|
|
revision=2
|
2013-10-10 11:44:56 +02:00
|
|
|
build_style=gnu-makefile
|
2013-10-10 11:46:31 +02:00
|
|
|
makedepends="lua51-devel"
|
2013-10-10 11:44:56 +02:00
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
2013-10-10 11:44:56 +02:00
|
|
|
luasocket_package() {
|
2013-10-10 11:46:31 +02:00
|
|
|
depends="lua51"
|
2013-10-10 11:44:56 +02:00
|
|
|
pkg_install() {
|
2013-10-10 11:46:31 +02:00
|
|
|
vmove all
|
2013-10-10 11:44:56 +02:00
|
|
|
}
|
|
|
|
}
|