summaryrefslogtreecommitdiffstats
path: root/meta/packages/curl/curl_7.20.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/curl/curl_7.20.0.bb')
-rw-r--r--meta/packages/curl/curl_7.20.0.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/curl/curl_7.20.0.bb b/meta/packages/curl/curl_7.20.0.bb
new file mode 100644
index 0000000000..19b46faf26
--- /dev/null
+++ b/meta/packages/curl/curl_7.20.0.bb
@@ -0,0 +1,49 @@
1DESCRIPTION = "Command line tool and library for client-side URL transfers."
2LICENSE = "MIT"
3DEPENDS = "zlib gnutls"
4DEPENDS_virtclass-native = "zlib-native"
5DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
6SECTION = "console/network"
7PR = "r1"
8
9SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
10 file://pkgconfig_fix.patch;patch=1"
11
12inherit autotools_stage pkgconfig binconfig
13
14EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
15 --with-gnutls=${STAGING_BINDIR_CROSS}/ \
16 --without-ssl \
17 --without-libssh2 \
18 --with-random=/dev/urandom \
19 --without-libidn \
20 --enable-crypto-auth \
21 "
22
23do_configure_prepend() {
24 sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac
25}
26
27PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc"
28
29FILES_${PN} = "${bindir}/curl"
30
31FILES_${PN}-certs = "${datadir}/curl/curl-*"
32PACKAGE_ARCH_${PN}-certs = "all"
33
34FILES_${PN}-doc = "${mandir}/man1/curl.1"
35
36FILES_lib${PN} = "${libdir}/lib*.so.*"
37RRECOMMENDS_lib${PN} += "${PN}-certs"
38FILES_lib${PN}-dev = "${includedir} \
39 ${libdir}/lib*.so \
40 ${libdir}/lib*.a \
41 ${libdir}/lib*.la \
42 ${libdir}/pkgconfig \
43 ${datadir}/aclocal \
44 ${bindir}/*-config"
45
46FILES_lib${PN}-doc = "${mandir}/man3 \
47 ${mandir}/man1/curl-config.1"
48
49BBCLASSEXTEND = "native nativesdk" \ No newline at end of file