diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-05 08:02:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-05 08:26:16 +0000 |
commit | fa2422284685c88f06b20fd5a089ae27a0f543ab (patch) | |
tree | 4c89ed293ce0f54e31ccc3630f32bf824d44fb84 /main/lua5.2-sql-sqlite3 | |
parent | 8d61a971f145e0f6e70e71494ebec4b4cea56ab7 (diff) | |
download | aports-fa2422284685c88f06b20fd5a089ae27a0f543ab.tar.bz2 aports-fa2422284685c88f06b20fd5a089ae27a0f543ab.tar.xz |
main/lua-sql: merge lua-sql drivers
we build all the different sql drivers for all the different lua
versions from a single APKBUILD
Diffstat (limited to 'main/lua5.2-sql-sqlite3')
-rw-r--r-- | main/lua5.2-sql-sqlite3/APKBUILD | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/main/lua5.2-sql-sqlite3/APKBUILD b/main/lua5.2-sql-sqlite3/APKBUILD deleted file mode 100644 index 34908e0844..0000000000 --- a/main/lua5.2-sql-sqlite3/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa <natanael.copa@gmail.com> -_luaver=5.2 -pkgname=lua$_luaver-sql-sqlite3 -pkgver=2.3.0 -pkgrel=0 -pkgdesc="Lua $_luaver SQL driver for sqlite3" -url="http://www.keplerproject.org/luasql/" -arch="all" -license="MIT" -depends="" -makedepends="lua$_luaver-dev sqlite-dev" -install= -subpackages= -source="luasql-$pkgver.tar.gz::https://github.com/keplerproject/luasql/archive/v$pkgver.tar.gz" - -build() { - cd "$srcdir"/luasql-$pkgver - local _sqlite_libs="$( pkg-config sqlite3 --libs )" || return 1 - local _lua_cflags="$( pkg-config lua$_luaver --cflags )" || return 1 - make CFLAGS="-fPIC $CFLAGS $_lua_cflags" \ - T=sqlite3 \ - DRIVER_LIBS="$_sqlite_libs" \ - || return 1 -} - -package() { - cd "$srcdir"/luasql-$pkgver - install -D src/sqlite3.so "$pkgdir"/usr/lib/lua/$_luaver/luasql/sqlite3.so -} - -md5sums="af9f0f3a2313a1fcf88c40700092048d luasql-2.3.0.tar.gz" -sha256sums="e173ff7b17a2757951b4b2f67d3b1bfe04caad7185b68cffa7758ce822e25e9f luasql-2.3.0.tar.gz" -sha512sums="62309cf6241ffab1ed32e718536a5c986168a7bb6fcf2cf55e884db5043d5ec473bbbb7c93b399dfc0a19f282e850f742452583ad0d973661a7f672b0f8da2d5 luasql-2.3.0.tar.gz" |