Date: Tuesday, November 28, 2017 @ 09:28:26
  Author: eworm
Revision: 270449

archrelease: copy trunk to community-testing-x86_64

Added:
  libmicrohttpd/repos/community-testing-x86_64/
  libmicrohttpd/repos/community-testing-x86_64/PKGBUILD
    (from rev 270448, libmicrohttpd/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: libmicrohttpd/repos/community-testing-x86_64/PKGBUILD (from rev 270448, 
libmicrohttpd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-11-28 09:28:26 UTC (rev 270449)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Norberto Lopes <[email protected]>
+# Contributor: Kao Dome <[email protected]>
+# Contributor: Dmitrij D. Czarkoff <[email protected]>
+# Contributor: Mathias Rohnstock <[email protected]>
+
+pkgname=libmicrohttpd
+pkgver=0.9.57
+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=('x86_64')
+url="http://www.gnu.org/software/libmicrohttpd/";
+license=('LGPL')
+depends=('gnutls')
+optdepends=('file' 'curl')
+source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz)
+sha256sums=('dec1a76487d7e48ad74b468a888bfda1c05731f185ff950f1e363ca9d39caf4e')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-dependency-tracking --enable-largefile \
+       --enable-curl --enable-messages --with-pic
+  make
+}
+
+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
+}

Reply via email to