summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/curl/curl_7.14.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/curl/curl_7.14.0.bb')
-rw-r--r--openembedded/packages/curl/curl_7.14.0.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/openembedded/packages/curl/curl_7.14.0.bb b/openembedded/packages/curl/curl_7.14.0.bb
new file mode 100644
index 0000000000..a0ad4d14d7
--- /dev/null
+++ b/openembedded/packages/curl/curl_7.14.0.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "Command line tool and library for client-side URL transfers."
2LICENSE = "MIT"
3DEPENDS = "zlib"
4SECTION = "console/network"
5
6SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2"
7S = "${WORKDIR}/curl-${PV}"
8
9inherit autotools pkgconfig binconfig
10
11EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
12 --without-ssl \
13 --with-random=/dev/urandom \
14 --without-idn \
15 --enable-http \
16 --enable-file"
17
18do_stage () {
19 install -d ${STAGING_INCDIR}/curl
20 install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/
21 oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR}
22}
23
24PACKAGES = "curl curl-doc libcurl libcurl-dev libcurl-doc"
25FILES_${PN} = "${bindir}/curl"
26FILES_${PN}-doc = "${mandir}/man1/curl.1"
27FILES_lib${PN} = "${libdir}/lib*.so.*"
28FILES_lib${PN}-dev = "${includedir} \
29 ${libdir}/lib*.so \
30 ${libdir}/lib*.a \
31 ${libdir}/lib*.la \
32 ${libdir}/pkgconfig \
33 ${datadir}/aclocal \
34 ${bindir}/*-config"
35FILES_lib${PN}-doc = "${mandir}/man3 \
36 ${mandir}/man1/curl-config.1"
37