From 343773154613ca882e3d3eee3b4e2dfd46b2d14d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 16 Feb 2010 15:03:50 +0100 Subject: [PATCH] new package: - add libmicrohttpd for the upcoming xbmc-pvr update --- packages/devel/libmicrohttpd/build | 22 ++++++++++++++++++++++ packages/devel/libmicrohttpd/install | 7 +++++++ packages/devel/libmicrohttpd/url | 1 + 3 files changed, 30 insertions(+) create mode 100755 packages/devel/libmicrohttpd/build create mode 100755 packages/devel/libmicrohttpd/install create mode 100644 packages/devel/libmicrohttpd/url diff --git a/packages/devel/libmicrohttpd/build b/packages/devel/libmicrohttpd/build new file mode 100755 index 0000000000..cb924384af --- /dev/null +++ b/packages/devel/libmicrohttpd/build @@ -0,0 +1,22 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/build toolchain + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --exec-prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --enable-shared \ + --disable-static \ + --disable-curl \ + --disable-https \ + --with-libgcrypt-prefix=$SYSROOT_PREFIX/usr + +make + +$MAKEINSTALL diff --git a/packages/devel/libmicrohttpd/install b/packages/devel/libmicrohttpd/install new file mode 100755 index 0000000000..7e5d0c41de --- /dev/null +++ b/packages/devel/libmicrohttpd/install @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options + +mkdir -p $INSTALL/usr/lib + cp -PR $PKG_BUILD/src/daemon/.libs/*.so* $INSTALL/usr/lib + diff --git a/packages/devel/libmicrohttpd/url b/packages/devel/libmicrohttpd/url new file mode 100644 index 0000000000..918416af95 --- /dev/null +++ b/packages/devel/libmicrohttpd/url @@ -0,0 +1 @@ +ftp://sunsite.cnlab-switch.ch/mirror/gnu/libmicrohttpd/libmicrohttpd-0.4.5.tar.gz \ No newline at end of file