diff options
Diffstat (limited to 'meta/recipes-support/curl/curl_7.21.0.bb')
| -rw-r--r-- | meta/recipes-support/curl/curl_7.21.0.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.21.0.bb b/meta/recipes-support/curl/curl_7.21.0.bb new file mode 100644 index 0000000000..1e11222897 --- /dev/null +++ b/meta/recipes-support/curl/curl_7.21.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" | ||
| 10 | DEPENDS_virtclass-nativesdk = "zlib-nativesdk" | ||
| 11 | PR = "r0" | ||
| 12 | |||
| 13 | SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | ||
| 14 | file://noldlibpath.patch \ | ||
| 15 | file://pkgconfig_fix.patch" | ||
| 16 | |||
| 17 | inherit autotools pkgconfig binconfig | ||
| 18 | |||
| 19 | EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \ | ||
| 20 | --with-gnutls=${STAGING_BINDIR_CROSS}/ \ | ||
| 21 | --without-ssl \ | ||
| 22 | --without-libssh2 \ | ||
| 23 | --with-random=/dev/urandom \ | ||
| 24 | --without-libidn \ | ||
| 25 | --enable-crypto-auth \ | ||
| 26 | " | ||
| 27 | |||
| 28 | do_configure_prepend() { | ||
| 29 | sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac | ||
| 30 | } | ||
| 31 | |||
| 32 | PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc" | ||
| 33 | |||
| 34 | FILES_${PN} = "${bindir}/curl" | ||
| 35 | |||
| 36 | FILES_${PN}-certs = "${datadir}/curl/curl-*" | ||
| 37 | PACKAGE_ARCH_${PN}-certs = "all" | ||
| 38 | |||
| 39 | FILES_${PN}-doc = "${mandir}/man1/curl.1" | ||
| 40 | |||
| 41 | FILES_lib${PN} = "${libdir}/lib*.so.*" | ||
| 42 | RRECOMMENDS_lib${PN} += "${PN}-certs" | ||
| 43 | FILES_lib${PN}-dev = "${includedir} \ | ||
| 44 | ${libdir}/lib*.so \ | ||
| 45 | ${libdir}/lib*.a \ | ||
| 46 | ${libdir}/lib*.la \ | ||
| 47 | ${libdir}/pkgconfig \ | ||
| 48 | ${datadir}/aclocal \ | ||
| 49 | ${bindir}/*-config" | ||
| 50 | |||
| 51 | FILES_lib${PN}-doc = "${mandir}/man3 \ | ||
| 52 | ${mandir}/man1/curl-config.1" | ||
| 53 | |||
| 54 | BBCLASSEXTEND = "native nativesdk" | ||
