From 775c7e109a8b8dde65c5baee7d6bb3265ea76c06 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 4 Mar 2018 21:35:22 +0000 Subject: libmicrohttpd: update to 0.9.59 --- abs/extra/libmicrohttpd/PKGBUILD | 38 +++++++++++++++++---------- abs/extra/libmicrohttpd/libmicrohttpd.install | 20 -------------- 2 files changed, 24 insertions(+), 34 deletions(-) delete mode 100644 abs/extra/libmicrohttpd/libmicrohttpd.install diff --git a/abs/extra/libmicrohttpd/PKGBUILD b/abs/extra/libmicrohttpd/PKGBUILD index 316d989..ebd9706 100644 --- a/abs/extra/libmicrohttpd/PKGBUILD +++ b/abs/extra/libmicrohttpd/PKGBUILD @@ -6,30 +6,40 @@ # Contributor: Mathias Rohnstock pkgname=libmicrohttpd -pkgver=0.9.44 +pkgver=0.9.59 pkgrel=1 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://www.gnu.org/software/libmicrohttpd/" license=('LGPL') -depends=('gnutls' 'libgcrypt') -optdepends=('file' 'curl') -install=libmicrohttpd.install -source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('9101b5ebf8f71792938ae672da314da2') +depends=('gnutls') +checkdepends=('curl') +validpgpkeys=('289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4' # Evgeny Grin (Karlson2k) + 'D8423BCB326C7907033929C7939E6BE1E29FC3CC') # Christian Grothoff +source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig}) +sha256sums=('9b9ccd7d0b11b0e179f1f58dc2caa3e0c62c8609e1e1dc7dcaadf941b67d923c' + 'SKIP') build() { cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --disable-dependency-tracking --enable-largefile \ - --enable-curl --enable-messages --with-pic + ./configure \ + --prefix=/usr \ + --disable-dependency-tracking \ + --disable-examples \ + --enable-curl \ + --enable-https \ + --enable-largefile \ + --enable-messages \ + --with-pic make } +check() { + cd ${pkgname}-${pkgver} + make check +} + package() { cd ${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install - install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/platform.h \ - ${pkgdir}/usr/include/$pkgname/platform.h - sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I${includedir}/libmicrohttpd#' \ - $pkgdir/usr/lib/pkgconfig/libmicrohttpd.pc + make DESTDIR="$pkgdir" install } diff --git a/abs/extra/libmicrohttpd/libmicrohttpd.install b/abs/extra/libmicrohttpd/libmicrohttpd.install deleted file mode 100644 index 7129b17..0000000 --- a/abs/extra/libmicrohttpd/libmicrohttpd.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=usr/share/info -filelist=(libmicrohttpd.info libmicrohttpd-tutorial.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} -- cgit v0.12