aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-04-28 13:23:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-04-28 13:23:27 +0000
commit9a9067e16c970286f91469505848a7321f88c3bc (patch)
tree6120e7c8f31c35665cebc3c9b3e714b747c34798
parent6796daef5b5801c2dcc028f6ffed48cc83195793 (diff)
downloadaports-9a9067e16c970286f91469505848a7321f88c3bc.tar.bz2
aports-9a9067e16c970286f91469505848a7321f88c3bc.tar.xz
Revert "main/postgresql: include header files in libpq"
-rw-r--r--main/postgresql/APKBUILD24
1 files changed, 3 insertions, 21 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index d4552e365b..ef98b3053d 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postgresql
pkgver=9.4.1
-pkgrel=1
+pkgrel=0
pkgdesc="A sophisticated object-relational DBMS"
url="http://www.postgresql.org/"
arch="all"
@@ -10,7 +10,7 @@ depends="postgresql-client"
install="$pkgname.pre-upgrade"
depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev"
makedepends="$depends_dev"
-subpackages="libpq $pkgname-dev $pkgname-doc $pkgname-dbg $pkgname-client
+subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg libpq $pkgname-client
$pkgname-contrib"
patches="initdb.patch"
source="ftp://ftp.$pkgname.org/pub/source/v$pkgver/$pkgname-$pkgver.tar.bz2
@@ -68,26 +68,8 @@ package() {
libpq() {
depends=
pkgdesc="PostgreSQL libraries"
- mkdir -p "$subpkgdir"/usr/bin
- mkdir -p "$subpkgdir"/usr/lib/pkgconfig
- mkdir -p "$subpkgdir"/usr/include/postgresql
- mv "$pkgdir"/usr/bin/pg_config "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/include/libpq-events.h "$subpkgdir"/usr/include
- mv "$pkgdir"/usr/include/libpq-fe.h "$subpkgdir"/usr/include
- mv "$pkgdir"/usr/include/postgresql/internal "$subpkgdir"/usr/include/postgresql/
- mv "$pkgdir"/usr/include/libpq-events.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/libpq-fe.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/libpq "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr//include/pg_config.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/pg_config_ext.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/pg_config_manual.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/pg_config_os.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/include/postgres_ext.h "$subpkgdir"/usr/include/
- mv "$pkgdir"/usr/lib/libpq.a "$subpkgdir"/usr/lib/
+ mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libpq.so* "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/lib/libpqcommon.a "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/lib/libpqport.a "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/lib/pkgconfig/libpq.pc "$subpkgdir"/usr/lib/pkgconfig/
}
client() {