diff options
Diffstat (limited to 'main/libmicrohttpd')
-rw-r--r-- | main/libmicrohttpd/APKBUILD | 5 |
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 \ |