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 ++++++++++++++++++++++++++ main/luasql-postgres/APKBUILD | 21 --------------------- 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 main/lua-sql-postgres/APKBUILD delete mode 100644 main/luasql-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" diff --git a/main/luasql-postgres/APKBUILD b/main/luasql-postgres/APKBUILD deleted file mode 100644 index 7c36717f0..000000000 --- a/main/luasql-postgres/APKBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Mika Havela -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" -- cgit v1.2.3