aboutsummaryrefslogtreecommitdiffstats
path: root/main/luasql-sqlite3/APKBUILD
blob: 6cd89c8f0d696e5f24e12201563601d89d1797f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"