aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgresql
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-31 09:09:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-31 09:11:16 +0000
commit4df7078acf29feca82b175bde6aa86cc5ca465cc (patch)
tree96f64a81c601d9feef1c9606279e1fd30aeafd61 /main/postgresql
parent0be9406c55d21f519c31d59fbec7f6103110a402 (diff)
downloadaports-4df7078acf29feca82b175bde6aa86cc5ca465cc.tar.bz2
aports-4df7078acf29feca82b175bde6aa86cc5ca465cc.tar.xz
main/postgresql: fix -dev package
we need pgxs, egcs and pg_config in -dev
Diffstat (limited to 'main/postgresql')
-rw-r--r--main/postgresql/APKBUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index befa024ded..3bad588bd3 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postgresql
pkgver=9.5.3
-pkgrel=0
+pkgrel=1
pkgdesc="A sophisticated object-relational DBMS"
url="http://www.postgresql.org/"
arch="all"
@@ -74,6 +74,16 @@ package() {
"$pkgdir"/etc/conf.d/pg-restore || return 1
}
+dev() {
+ default_dev
+ mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib/postgresql
+ mv "$pkgdir"/usr/bin/pg_config \
+ "$pkgdir"/usr/bin/ecpg \
+ "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/lib/postgresql/pgxs \
+ "$subpkgdir"/usr/lib/postgresql/ || return 1
+}
+
libpq() {
depends=
pkgdesc="PostgreSQL libraries"