summaryrefslogtreecommitdiffstats
path: root/main/libmicrohttpd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:50:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:50:12 +0000
commit771b5a8d9632a67108ba53a357b6b3d84ff5ff15 (patch)
tree57f4f73f287e46bc73ca8bab610d30291074deab /main/libmicrohttpd/APKBUILD
parent3b7452e7e81fd388bb3c865883ee8389e493fa51 (diff)
downloadaports-771b5a8d9632a67108ba53a357b6b3d84ff5ff15.tar.bz2
aports-771b5a8d9632a67108ba53a357b6b3d84ff5ff15.tar.xz
main/libmicrohttpd: remove *.la
Diffstat (limited to 'main/libmicrohttpd/APKBUILD')
-rw-r--r--main/libmicrohttpd/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index cce434552..406ca88c0 100644
--- a/main/libmicrohttpd/APKBUILD
+++ b/main/libmicrohttpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmicrohttpd
pkgver=0.9.11
-pkgrel=0
+pkgrel=1
pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application."
url="http://www.gnu.org/software/libmicrohttpd/"
arch="all"
@@ -35,7 +35,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm644 "$_builddir"/src/include/platform.h \
"$pkgdir"/usr/include/platform.h
install -Dm644 "$_builddir"/src/include/plibc/plibc.h \