summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-30 06:47:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-30 06:47:23 +0000
commit8e4b313d6b8c4775aba99635778bafad024b5715 (patch)
treee7c3f5e54ddd923a2711c58fa1725dffc94d7cad /main
parent0b0c58933b02cee6eeb807c0367c01923cf3ce72 (diff)
downloadaports-8e4b313d6b8c4775aba99635778bafad024b5715.tar.bz2
aports-8e4b313d6b8c4775aba99635778bafad024b5715.tar.xz
main/luasql-sqlite3: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/luasql-sqlite3/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/luasql-sqlite3/APKBUILD b/main/luasql-sqlite3/APKBUILD
new file mode 100644
index 000000000..6cd89c8f0
--- /dev/null
+++ b/main/luasql-sqlite3/APKBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Natanael Copa <natanael.copa@gmail.com>
+pkgname=luasql-sqlite3
+pkgver=2.1.1
+pkgrel=0
+pkgdesc="LuaSQL driver for sqlite3"
+url="http://www.keplerproject.org/luasql/"
+license="MIT"
+depends="lua"
+makedepends="lua-dev sqlite-dev"
+install=
+subpackages=
+source="http://luaforge.net/frs/download.php/2686/luasql-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/luasql-$pkgver
+
+ make CFLAGS="$CFLAGS" T=sqlite3 DRIVER_LIBS="-lsqlite3" || return 1
+ install -D src/sqlite3.so "$pkgdir"/usr/lib/lua/5.1/luasql/sqlite3.so
+}
+
+md5sums="63bdd57de4b9d1be336ba112d8cb69eb luasql-2.1.1.tar.gz"