[arch-commits] Commit in libmicrohttpd/repos (6 files)

Sergej Pupykin spupykin at archlinux.org
Fri Apr 10 18:02:11 UTC 2015


    Date: Friday, April 10, 2015 @ 20:02:10
  Author: spupykin
Revision: 131142

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libmicrohttpd/repos/community-staging-i686/
  libmicrohttpd/repos/community-staging-i686/PKGBUILD
    (from rev 131141, libmicrohttpd/trunk/PKGBUILD)
  libmicrohttpd/repos/community-staging-i686/libmicrohttpd.install
    (from rev 131141, libmicrohttpd/trunk/libmicrohttpd.install)
  libmicrohttpd/repos/community-staging-x86_64/
  libmicrohttpd/repos/community-staging-x86_64/PKGBUILD
    (from rev 131141, libmicrohttpd/trunk/PKGBUILD)
  libmicrohttpd/repos/community-staging-x86_64/libmicrohttpd.install
    (from rev 131141, libmicrohttpd/trunk/libmicrohttpd.install)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   35 +++++++++++++++++++++++
 community-staging-i686/libmicrohttpd.install   |   20 +++++++++++++
 community-staging-x86_64/PKGBUILD              |   35 +++++++++++++++++++++++
 community-staging-x86_64/libmicrohttpd.install |   20 +++++++++++++
 4 files changed, 110 insertions(+)

Copied: libmicrohttpd/repos/community-staging-i686/PKGBUILD (from rev 131141, libmicrohttpd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-04-10 18:02:10 UTC (rev 131142)
@@ -0,0 +1,35 @@
+# $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.39
+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')
+depends=('gnutls' 'libgcrypt')
+optdepends=('file' 'curl')
+install=libmicrohttpd.install
+source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz)
+md5sums=('86c9cb728b4bd4fcb8aeca18ba6c0548')
+
+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
+}

Copied: libmicrohttpd/repos/community-staging-i686/libmicrohttpd.install (from rev 131141, libmicrohttpd/trunk/libmicrohttpd.install)
===================================================================
--- community-staging-i686/libmicrohttpd.install	                        (rev 0)
+++ community-staging-i686/libmicrohttpd.install	2015-04-10 18:02:10 UTC (rev 131142)
@@ -0,0 +1,20 @@
+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
+}

Copied: libmicrohttpd/repos/community-staging-x86_64/PKGBUILD (from rev 131141, libmicrohttpd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-04-10 18:02:10 UTC (rev 131142)
@@ -0,0 +1,35 @@
+# $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.39
+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')
+depends=('gnutls' 'libgcrypt')
+optdepends=('file' 'curl')
+install=libmicrohttpd.install
+source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz)
+md5sums=('86c9cb728b4bd4fcb8aeca18ba6c0548')
+
+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
+}

Copied: libmicrohttpd/repos/community-staging-x86_64/libmicrohttpd.install (from rev 131141, libmicrohttpd/trunk/libmicrohttpd.install)
===================================================================
--- community-staging-x86_64/libmicrohttpd.install	                        (rev 0)
+++ community-staging-x86_64/libmicrohttpd.install	2015-04-10 18:02:10 UTC (rev 131142)
@@ -0,0 +1,20 @@
+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
+}



More information about the arch-commits mailing list