diff options
author | James Meyer <jams@linhes.org> | 2010-12-29 00:53:57 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-29 00:53:57 (GMT) |
commit | bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d (patch) | |
tree | 8641b9762f43e4ee1022643782d013d7bdc06143 /abs/extra/libmicrohttpd | |
parent | 082e88179d8a355d5e67e62c5031d3d689ea3d5b (diff) | |
parent | eb0b8a2e6a2b8c78266e2e641a468843deee61c3 (diff) | |
download | linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.zip linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.gz linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.bz2 |
Merge remote branch 'origin/testing' into testing
Diffstat (limited to 'abs/extra/libmicrohttpd')
-rw-r--r-- | abs/extra/libmicrohttpd/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/libmicrohttpd/PKGBUILD b/abs/extra/libmicrohttpd/PKGBUILD new file mode 100644 index 0000000..e56945d --- /dev/null +++ b/abs/extra/libmicrohttpd/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 35497 2010-12-21 07:51:02Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Norberto Lopes <shelika@mail.telepac.pt> +# Contributor: Kao Dome <kaodome@gmail.com> +# Contributor: Dmitrij D. Czarkoff <czarkoff@gmail.com> +# Contributor: Mathias Rohnstock <linksoft@gmx.de> + +pkgname=libmicrohttpd +pkgver=0.9.3 +pkgrel=2 +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') +url="http://www.gnu.org/software/libmicrohttpd/" +license=('LGPL') +options=(!libtool) +depends=('gnutls') +source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) +md5sums=('a6c7dae57c51afd648b45a526098429a') + +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 + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/plibc/plibc.h \ + ${pkgdir}/usr/include/$pkgname/plibc.h + sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $pkgdir/usr/lib/pkgconfig/libmicrohttpd.pc +} |