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