aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/pgpool/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD
index 5ea995cff8..ed73776bc7 100644
--- a/main/pgpool/APKBUILD
+++ b/main/pgpool/APKBUILD
@@ -3,7 +3,7 @@
pkgname=pgpool
_opkgname=pgpool-II
pkgver=3.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="Pgpool II is a connection pooling/replication server for PostgreSQL."
url="http://pgfoundry.org/projects/pgpool/"
arch="all"
@@ -26,7 +26,8 @@ build() {
package() {
cd "$srcdir/$_opkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}