diff options
Diffstat (limited to 'meta/packages/curl/curl_7.20.0.bb')
-rw-r--r-- | meta/packages/curl/curl_7.20.0.bb | 49 |
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 @@ | |||
1 | DESCRIPTION = "Command line tool and library for client-side URL transfers." | ||
2 | LICENSE = "MIT" | ||
3 | DEPENDS = "zlib gnutls" | ||
4 | DEPENDS_virtclass-native = "zlib-native" | ||
5 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk" | ||
6 | SECTION = "console/network" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | ||
10 | file://pkgconfig_fix.patch;patch=1" | ||
11 | |||
12 | inherit autotools_stage pkgconfig binconfig | ||
13 | |||
14 | EXTRA_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 | |||
23 | do_configure_prepend() { | ||
24 | sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac | ||
25 | } | ||
26 | |||
27 | PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc" | ||
28 | |||
29 | FILES_${PN} = "${bindir}/curl" | ||
30 | |||
31 | FILES_${PN}-certs = "${datadir}/curl/curl-*" | ||
32 | PACKAGE_ARCH_${PN}-certs = "all" | ||
33 | |||
34 | FILES_${PN}-doc = "${mandir}/man1/curl.1" | ||
35 | |||
36 | FILES_lib${PN} = "${libdir}/lib*.so.*" | ||
37 | RRECOMMENDS_lib${PN} += "${PN}-certs" | ||
38 | FILES_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 | |||
46 | FILES_lib${PN}-doc = "${mandir}/man3 \ | ||
47 | ${mandir}/man1/curl-config.1" | ||
48 | |||
49 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | ||