From ec23be96602484fa5045dd0cde489bb189e4f3c7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Jan 2010 17:28:28 +0000 Subject: main/lua-sql-postgres: renamed from luasql-postgres --- main/lua-sql-postgres/APKBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 main/lua-sql-postgres/APKBUILD (limited to 'main/lua-sql-postgres/APKBUILD') diff --git a/main/lua-sql-postgres/APKBUILD b/main/lua-sql-postgres/APKBUILD new file mode 100644 index 000000000..08eb9d966 --- /dev/null +++ b/main/lua-sql-postgres/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Mika Havela +# Maintainer: Mika Havela +pkgname=lua-sql-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" +replaces=luasql-postgres + +build() { + cd "$srcdir/luasql-$pkgver" + make CFLAGS="$CFLAGS" T=postgres DRIVER_LIBS="-lpq" || return 1 +} + +package() { + cd "$srcdir/luasql-$pkgver" + install -D src/postgres.so "$pkgdir"/usr/lib/lua/5.1/luasql/postgres.so +} + +md5sums="63bdd57de4b9d1be336ba112d8cb69eb luasql-2.1.1.tar.gz" -- cgit v1.2.3