DESCRIPTION="LuaRocks is a deployment and management system for Lua modules."
HOMEPAGE="http://luarocks.org"
SRC_URI="http://luarocks.org/releases/luarocks-2.0.4.1.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-lang/lua >= 5.1"
CHECKSUM_MD5="2c7caccce3cdf236e6f9aca7bec9bdea"
BUILD()
{
	cd luarocks-2.0.4.1
	configure --prefix=`finddir B_COMMON_DIRECTORY`
	make
}

INSTALL()
{
	cd luarocks-2.0.4.1
	make install DESTDIR=${DESTDIR}
}

LICENSE="MIT"
COPYRIGHT="2007-2010 Kepler Project"
