Subject: [alpine-devel] unstable/luasocket: new aport

From: "Mika Havela" <[email-masked]>
Date: Thu, 04 Jun 2009 09:33:20 +0000

Please skip previous luasocket patch and review this instead.
It's only cosmetic changes.
<<mhavela>>

From d56880bdec451f22f958ffafc2d160cd36c4545b Mon Sep 17 00:00:00 2001
From: Mika Havela <[email-masked]>
Date: Thu, 4 Jun 2009 09:31:23 +0000
Subject: [PATCH] unstable/luasocket: new aport
 Luasocket is the most comprehensive networking support library for the Lua language.
 http://luaforge.net/projects/luasocket/

---
 unstable/luasocket/APKBUILD |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 unstable/luasocket/APKBUILD

diff --git a/unstable/luasocket/APKBUILD b/unstable/luasocket/APKBUILD
new file mode 100644
index 0000000..fdc4a06
--- /dev/null
+++ b/unstable/luasocket/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Mika Havela <[email-masked]>
+# Maintainer: Mika Havela <[email-masked]>
+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=
+#subpackages="$pkgname-doc $pkgname-dev"
+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
+
+	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="41445b138deb7bcfe97bff957503da8e  luasocket-2.0.2.tar.gz"
-- 
1.6.2.5

---

From: Michael Mason <[email-masked]>
Date: Thu, 4 Jun 2009 14:47:38 +0000

> It's only cosmetic changes.

Applied patch. See http://git.alpinelinux.org/cgit/aports-mmason/.
Build looks good.

If you are using the apk from this let me know and we can move it to  
testing.

THX

> <0001-unstable-luasocket-new-aport.patch>

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---