summaryrefslogtreecommitdiff
path: root/recipes/c-ares/c-ares_1.5.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/c-ares/c-ares_1.5.2.bb')
-rw-r--r--recipes/c-ares/c-ares_1.5.2.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/c-ares/c-ares_1.5.2.bb b/recipes/c-ares/c-ares_1.5.2.bb
new file mode 100644
index 0000000000..9098a9cb31
--- /dev/null
+++ b/recipes/c-ares/c-ares_1.5.2.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "c-ares is a C library that resolves names asynchronously."
+HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/"
+SECTION = "libs"
+SRC_URI = "http://daniel.haxx.se/projects/c-ares/c-ares-${PV}.tar.gz"
+LICENSE = "MIT"
+S = "${WORKDIR}/c-ares-${PV}"
+
+inherit autotools
+
+do_stage() {
+ oe_libinstall -C .libs -a libcares ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/ares
+ install -m 0644 ares*.h ${STAGING_INCDIR}/ares/
+}
+