From a7f02e663d5ae6acc388df3b74c047994fa73e3d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Jan 2010 17:17:47 +0000 Subject: main/lua-socket: renamed from luasocket --- main/lua-socket/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 main/lua-socket/APKBUILD (limited to 'main/lua-socket') diff --git a/main/lua-socket/APKBUILD b/main/lua-socket/APKBUILD new file mode 100644 index 0000000000..df001152b7 --- /dev/null +++ b/main/lua-socket/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Mika Havela +# Maintainer: Mika Havela +pkgname=lua-socket +_name=luasocket +pkgver=2.0.2 +pkgrel=0 +pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language." +url="http://luaforge.net/projects/luasocket/" +license="MIT" +depends="lua" +makedepends="lua-dev" +install= +source="http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz" +replaces=luasocket + +build() { + cd "$srcdir/$_name-$pkgver" + make || return 1 +} + +package() { + cd "$srcdir/$_name-$pkgver" + make INSTALL_TOP_SHARE="$pkgdir/usr/share/lua/5.1" INSTALL_TOP_LIB="$pkgdir/usr/lib/lua/5.1" install + +} + +md5sums="41445b138deb7bcfe97bff957503da8e luasocket-2.0.2.tar.gz" -- cgit v1.2.3