diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-25 04:49:14 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-25 04:49:14 (GMT) |
commit | f591ead4c8a9b64b0630900aa12c260027a7db6f (patch) | |
tree | 091b31cdc3a24c0b9108f0ea718ecaad166cc834 /abs/extra/libmicrohttpd | |
parent | 9b35fb3e4f637252b4674a78adf9026faeaa5340 (diff) | |
download | linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.zip linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.tar.gz linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.tar.bz2 |
compiled/added programs needed by xbmc: Moved some programs out of community into extra.
libmpeg2
pm-utils
afpfs-ng
fluidsynth
libmodplug
libnfs
libshairport
dbus-c__
doxygen
libocnfig
libffado
libimobiledevice
libmicrothttpd
sdl_image
sdl_mixer
smpeg
upower
usbmuxd
vdpau-video
Diffstat (limited to 'abs/extra/libmicrohttpd')
-rw-r--r-- | abs/extra/libmicrohttpd/PKGBUILD | 16 | ||||
-rw-r--r-- | abs/extra/libmicrohttpd/libmicrohttpd.install | 20 |
2 files changed, 29 insertions, 7 deletions
diff --git a/abs/extra/libmicrohttpd/PKGBUILD b/abs/extra/libmicrohttpd/PKGBUILD index e56945d..7312377 100644 --- a/abs/extra/libmicrohttpd/PKGBUILD +++ b/abs/extra/libmicrohttpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 35497 2010-12-21 07:51:02Z spupykin $ +# $Id: PKGBUILD 79771 2012-11-12 09:04:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Norberto Lopes <shelika@mail.telepac.pt> # Contributor: Kao Dome <kaodome@gmail.com> @@ -6,16 +6,17 @@ # Contributor: Mathias Rohnstock <linksoft@gmx.de> pkgname=libmicrohttpd -pkgver=0.9.3 -pkgrel=2 +pkgver=0.9.23 +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') +options=('!libtool') +depends=('gnutls' 'libgcrypt') +install=libmicrohttpd.install source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('a6c7dae57c51afd648b45a526098429a') +md5sums=('efd038d93836adc0149beaa1c2927f61') build() { cd ${pkgname}-${pkgver} @@ -31,5 +32,6 @@ package() { ${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 + sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' \ + $pkgdir/usr/lib/pkgconfig/libmicrohttpd.pc } diff --git a/abs/extra/libmicrohttpd/libmicrohttpd.install b/abs/extra/libmicrohttpd/libmicrohttpd.install new file mode 100644 index 0000000..dc0d2b9 --- /dev/null +++ b/abs/extra/libmicrohttpd/libmicrohttpd.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(microhttpd.info microhttpd-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 +} |