curl: add metafile support, update to curl-7.21.0

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-24 11:53:59 +02:00
parent 06da5a81a0
commit 2a3318b1b1
4 changed files with 14 additions and 8 deletions

View File

@ -2,10 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build zlib
$SCRIPTS/build openssl
# link against librt because of undefined reference to 'clock_gettime'
LDFLAGS="$LDFLAGS -lrt"

View File

@ -2,8 +2,5 @@
. config/options $1
$SCRIPTS/install zlib
$SCRIPTS/install openssl
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/lib/.libs/libcurl.so* $INSTALL/usr/lib

14
packages/web/curl/meta Normal file
View File

@ -0,0 +1,14 @@
PKG_NAME="curl"
PKG_VERSION="7.21.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://curl.haxx.se"
PKG_URL=" http://curl.haxx.se/download/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="zlib openssl"
PKG_BUILD_DEPENDS="toolchain zlib openssl"
PKG_PRIORITY="optional"
PKG_SECTION="web"
PKG_SHORTDESC="curl: Client and library for (HTTP, HTTPS, FTP, ...) transfers"
PKG_LONGDESC="Curl is a client to get documents/files from or send documents to a server, using any of the supported protocols (HTTP, HTTPS, FTP, FTPS, GOPHER, DICT, TELNET, LDAP or FILE). The command is designed to work without user interaction or any kind of interactivity."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://curl.haxx.se/download/curl-7.20.1.tar.bz2