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