summaryrefslogtreecommitdiffstats
path: root/main/lua-socket
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:17:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:17:47 +0000
commita7f02e663d5ae6acc388df3b74c047994fa73e3d (patch)
treed67bf7c080cb6729e3fb3fbc5c3b9ca95c2d073f /main/lua-socket
parent3609d312b0eb1dfc7c5ce40645332556d3c4b3a2 (diff)
downloadaports-a7f02e663d5ae6acc388df3b74c047994fa73e3d.tar.bz2
aports-a7f02e663d5ae6acc388df3b74c047994fa73e3d.tar.xz
main/lua-socket: renamed from luasocket
Diffstat (limited to 'main/lua-socket')
-rw-r--r--main/lua-socket/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/lua-socket/APKBUILD b/main/lua-socket/APKBUILD
new file mode 100644
index 000000000..df001152b
--- /dev/null
+++ b/main/lua-socket/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+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"