From dc31ac17aabb3f64d0454d9ff2ca145624ab0130 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 3 Oct 2009 22:58:57 +0200 Subject: [PATCH] new package: - add curl for upcoming enna --- packages/other/curl/build | 27 +++++++++++++++++++++++++++ packages/other/curl/install | 8 ++++++++ packages/other/curl/url | 1 + 3 files changed, 36 insertions(+) create mode 100644 packages/other/curl/build create mode 100644 packages/other/curl/install create mode 100644 packages/other/curl/url diff --git a/packages/other/curl/build b/packages/other/curl/build new file mode 100644 index 0000000000..484913aaf2 --- /dev/null +++ b/packages/other/curl/build @@ -0,0 +1,27 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/build toolchain +$SCRIPTS/build zlib +$SCRIPTS/build openssl + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --disable-static \ + --enable-shared \ + --disable-debug \ + --enable-http \ + --enable-ftp \ + --enable-file \ + --disable-ldap \ + --enable-proxy \ + --enable-ipv6 \ + --enable-thread \ + --with-random=/dev/urandom \ + +make + +$MAKEINSTALL \ No newline at end of file diff --git a/packages/other/curl/install b/packages/other/curl/install new file mode 100644 index 0000000000..aa337ca736 --- /dev/null +++ b/packages/other/curl/install @@ -0,0 +1,8 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/install zlib + +mkdir -p $INSTALL/usr/lib + cp -PR $PKG_BUILD/lib/.libs/libcurl.so* $INSTALL/usr/lib diff --git a/packages/other/curl/url b/packages/other/curl/url new file mode 100644 index 0000000000..996786b108 --- /dev/null +++ b/packages/other/curl/url @@ -0,0 +1 @@ +http://curl.haxx.se/download/curl-7.19.4.tar.bz2