From 132645d25ef581177193c02e5e1313e0453435bc Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 16 Jun 2013 22:03:07 +0200 Subject: [PATCH] curl: update recipe * Add PATCHES. * Change lib:libcurl version to match soname. * Declare [BUILD_]REQUIRES more correctly. * Build a separate curl_devel package. --- net-misc/curl/curl-7.26.0.recipe | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/net-misc/curl/curl-7.26.0.recipe b/net-misc/curl/curl-7.26.0.recipe index eb16c9e90..f4b439e7e 100644 --- a/net-misc/curl/curl-7.26.0.recipe +++ b/net-misc/curl/curl-7.26.0.recipe @@ -4,29 +4,30 @@ COPYRIGHT="1996-2012, Daniel Stenberg, . All rights reserved." LICENSE="Curl" SRC_URI="http://curl.haxx.se/download/curl-7.26.0.tar.bz2" CHECKSUM_MD5="bfa80f01b3d300359cfb4d409b6136a3" -REVISION="3" +REVISION="4" ARCHITECTURES="x86_gcc2 ?x86" -# libcurl's SONAME is bumped whenever backward compat is broken, v7.16 -# introduced SO-version 4, which is still current +PATCHES="curl-7.26.0.patch" + PROVIDES=" curl = $portVersion cmd:curl = $portVersion compat >= 7.16 - cmd:curl_config = $portVersion compat >= 7.16 - lib:libcurl = $portVersion compat >= 7.16 + lib:libcurl = 4.2.0 compat >= 4 " REQUIRES=" haiku >= $haikuVersion ca_root_certificates lib:libssl + lib:libz " BUILD_REQUIRES=" - $REQUIRES cmd:autoconf cmd:gcc cmd:ld cmd:libtoolize cmd:make + devel:libssl + devel:libz " BUILD_PREREQUIRES=" haiku_devel >= $haikuVersion @@ -69,6 +70,12 @@ INSTALL() for h in docs/libcurl/*.html; do install -c -m 644 "$h" "$developDocDir" done + + # devel package + packageEntries devel \ + $binDir/curl-config \ + $developDir \ + $manDir/man3 } TEST() @@ -85,3 +92,14 @@ DESCRIPTION=" (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other useful tricks. " + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + curl_devel = $portVersion + cmd:curl_config = $portVersion compat >= 7.16 + devel:libcurl = 4.2.0 compat >= 4 + " +REQUIRES_devel=" + curl == $portVersion base + "