blob: 7c36717f02f857a10e2853f2f1643823cdaa4705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=luasql-postgres
pkgver=2.1.1
pkgrel=1
pkgdesc="PostgreSQL driver for LuaSQL"
url="http://www.keplerproject.org/luasql/"
license="MIT"
depends="lua"
makedepends="lua-dev postgresql-dev"
install=
subpackages=
source="http://luaforge.net/frs/download.php/2686/luasql-$pkgver.tar.gz"
build() {
cd "$srcdir/luasql-$pkgver"
make CFLAGS="$CFLAGS" T=postgres DRIVER_LIBS="-lpq" || return 1
install -D src/postgres.so "$pkgdir"/usr/lib/lua/5.1/luasql/postgres.so
}
md5sums="63bdd57de4b9d1be336ba112d8cb69eb luasql-2.1.1.tar.gz"
|