aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmicrohttpd/APKBUILD
diff options
context:
space:
mode:
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 cce4345528..406ca88c03 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 \