[arch-commits] Commit in libmicrohttpd/repos (2 files)
Christian Hesse
eworm at archlinux.org
Tue Nov 28 09:28:31 UTC 2017
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 <pupykin.s+arch at gmail.com>
+# Maintainer: Norberto Lopes <shelika at mail.telepac.pt>
+# Contributor: Kao Dome <kaodome at gmail.com>
+# Contributor: Dmitrij D. Czarkoff <czarkoff at gmail.com>
+# Contributor: Mathias Rohnstock <linksoft at gmx.de>
+
+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
+}
More information about the arch-commits
mailing list