summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-06-04 14:41:36 +0000
committerMichael Mason <ms13sp@gmail.com>2009-06-04 14:41:36 +0000
commita434428c35cdb7c17e42dd6c79ef1dfd70383197 (patch)
tree174124015c4d6a9f248bdf9b5871c4323f9ac5b1
parent3376f27406a2db9f1471089dd069dd8edf67295c (diff)
downloadaports-a434428c35cdb7c17e42dd6c79ef1dfd70383197.tar.bz2
aports-a434428c35cdb7c17e42dd6c79ef1dfd70383197.tar.xz
Initial Commit unstable/luasocket from mhavela@gmail.com
-rw-r--r--unstable/luasocket/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/unstable/luasocket/APKBUILD b/unstable/luasocket/APKBUILD
new file mode 100644
index 000000000..c42a6229f
--- /dev/null
+++ b/unstable/luasocket/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=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/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make || return 1
+ 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"