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/lua-sql-postgres/APKBUILD | |
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/lua-sql-postgres/APKBUILD')
-rw-r--r-- | main/lua-sql-postgres/APKBUILD | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/main/lua-sql-postgres/APKBUILD b/main/lua-sql-postgres/APKBUILD deleted file mode 100644 index abcb3898f4..0000000000 --- a/main/lua-sql-postgres/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Mika Havela <mika.havela@gmail.com> -# Maintainer: Mika Havela <mika.havela@gmail.com> -pkgname=lua-sql-postgres -pkgver=2.2.0 -pkgrel=0 -pkgdesc="PostgreSQL driver for LuaSQL" -url="http://www.keplerproject.org/luasql/" -arch="all" -license="MIT" -depends="lua" -makedepends="lua-dev postgresql-dev" -install= -subpackages= -source="http://dev.alpinelinux.org/archive/$pkgname/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="59d72db444c6369c936d4f03694db6b7 luasql-2.2.0.tar.gz" |