summaryrefslogtreecommitdiffstats
path: root/main/pgpool
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 11:13:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 11:13:16 +0000
commite44bff0aced0c80bdf7b9695f566cb7d734e29ad (patch)
tree2f4874170a8773f4b1e664ee64a7bd0dbcede0ac /main/pgpool
parent074c8d13a61ef5b5b07d35ae502b4886e6ddec11 (diff)
downloadaports-e44bff0aced0c80bdf7b9695f566cb7d734e29ad.tar.bz2
aports-e44bff0aced0c80bdf7b9695f566cb7d734e29ad.tar.xz
main/pgpool: remove *.la
Diffstat (limited to 'main/pgpool')
-rw-r--r--main/pgpool/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD
index 5ea995cff..ed73776bc 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
}