aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-sql-sqlite3
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:30:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:30:01 +0000
commitfbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed (patch)
tree622432c5413f53f7abc1faf4c1f9b41b3cbc57b3 /main/lua-sql-sqlite3
parentec23be96602484fa5045dd0cde489bb189e4f3c7 (diff)
downloadaports-fbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed.tar.bz2
aports-fbbdf77f8282d60f045dd0cef0ef78b2ed66f3ed.tar.xz
main/lua-sql-sqlite3: renamed from luasql-sqlite3
Diffstat (limited to 'main/lua-sql-sqlite3')
-rw-r--r--main/lua-sql-sqlite3/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/lua-sql-sqlite3/APKBUILD b/main/lua-sql-sqlite3/APKBUILD
new file mode 100644
index 0000000000..ff740b4fed
--- /dev/null
+++ b/main/lua-sql-sqlite3/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <natanael.copa@gmail.com>
+pkgname=lua-sql-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"
+replaces=luasql-sqlite3
+
+build() {
+ cd "$srcdir"/luasql-$pkgver
+ make CFLAGS="$CFLAGS" T=sqlite3 DRIVER_LIBS="-lsqlite3" || return 1
+}
+
+package() {
+ cd "$srcdir"/luasql-$pkgver
+ install -D src/sqlite3.so "$pkgdir"/usr/lib/lua/5.1/luasql/sqlite3.so
+}
+
+md5sums="63bdd57de4b9d1be336ba112d8cb69eb luasql-2.1.1.tar.gz"