diff options
Diffstat (limited to 'community/libmicrohttpd')
-rw-r--r-- | community/libmicrohttpd/PKGBUILD | 37 | ||||
-rw-r--r-- | community/libmicrohttpd/libmicrohttpd.install | 20 |
2 files changed, 0 insertions, 57 deletions
diff --git a/community/libmicrohttpd/PKGBUILD b/community/libmicrohttpd/PKGBUILD deleted file mode 100644 index 276f61817..000000000 --- a/community/libmicrohttpd/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# $Id: PKGBUILD 89934 2013-05-05 21:30:28Z 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.27 -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') -url="http://www.gnu.org/software/libmicrohttpd/" -license=('LGPL') -options=('!libtool') -depends=('gnutls' 'libgcrypt') -install=libmicrohttpd.install -source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('a10496b7f1b495aaf6897584da52f51b') - -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 -} diff --git a/community/libmicrohttpd/libmicrohttpd.install b/community/libmicrohttpd/libmicrohttpd.install deleted file mode 100644 index 7129b1754..000000000 --- a/community/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 -} |