diff options
Diffstat (limited to 'meta/recipes-support/curl/curl_7.26.0.bb')
-rw-r--r-- | meta/recipes-support/curl/curl_7.26.0.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.26.0.bb b/meta/recipes-support/curl/curl_7.26.0.bb new file mode 100644 index 0000000000..f04b4008d6 --- /dev/null +++ b/meta/recipes-support/curl/curl_7.26.0.bb | |||
@@ -0,0 +1,54 @@ | |||
1 | DESCRIPTION = "Command line tool and library for client-side URL transfers." | ||
2 | HOMEPAGE = "http://curl.haxx.se/" | ||
3 | BUGTRACKER = "http://curl.haxx.se/mail/list.cgi?list=curl-tracker" | ||
4 | SECTION = "console/network" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac" | ||
7 | |||
8 | DEPENDS = "zlib gnutls" | ||
9 | DEPENDS_virtclass-native = "zlib-native openssl-native" | ||
10 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk" | ||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | ||
14 | file://pkgconfig_fix.patch" | ||
15 | |||
16 | SRC_URI[md5sum] = "bfa80f01b3d300359cfb4d409b6136a3" | ||
17 | SRC_URI[sha256sum] = "fced262f16eb6bfcdcea15e04a7905ffcb5ff04b14a19ca35b9df86d6720d26a" | ||
18 | |||
19 | inherit autotools pkgconfig binconfig | ||
20 | |||
21 | EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \ | ||
22 | --without-libssh2 \ | ||
23 | --with-random=/dev/urandom \ | ||
24 | --without-libidn \ | ||
25 | --enable-crypto-auth \ | ||
26 | ${CURLGNUTLS} \ | ||
27 | " | ||
28 | |||
29 | CURLGNUTLS = " --with-gnutls=${STAGING_LIBDIR}/../ --without-ssl" | ||
30 | CURLGNUTLS_virtclass-native = "--without-gnutls --with-ssl" | ||
31 | CURLGNUTLS_virtclass-nativesdk = "--without-gnutls --without-ssl" | ||
32 | |||
33 | do_configure_prepend() { | ||
34 | sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac | ||
35 | } | ||
36 | |||
37 | PACKAGES =+ "${PN}-certs libcurl libcurl-dev libcurl-staticdev libcurl-doc" | ||
38 | |||
39 | FILES_${PN}-certs = "${datadir}/curl/curl-*" | ||
40 | PACKAGE_ARCH_${PN}-certs = "all" | ||
41 | |||
42 | FILES_lib${BPN} = "${libdir}/lib*.so.*" | ||
43 | RRECOMMENDS_lib${BPN} += "${PN}-certs" | ||
44 | FILES_lib${BPN}-dev = "${includedir} \ | ||
45 | ${libdir}/lib*.so \ | ||
46 | ${libdir}/lib*.la \ | ||
47 | ${libdir}/pkgconfig \ | ||
48 | ${datadir}/aclocal \ | ||
49 | ${bindir}/*-config" | ||
50 | FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" | ||
51 | FILES_lib${BPN}-doc = "${mandir}/man3 \ | ||
52 | ${mandir}/man1/curl-config.1" | ||
53 | |||
54 | BBCLASSEXTEND = "native nativesdk" | ||