summaryrefslogtreecommitdiff
path: root/packages/c-ares/c-ares_1.5.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/c-ares/c-ares_1.5.3.bb')
-rw-r--r--packages/c-ares/c-ares_1.5.3.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/c-ares/c-ares_1.5.3.bb b/packages/c-ares/c-ares_1.5.3.bb
new file mode 100644
index 0000000000..7375bda980
--- /dev/null
+++ b/packages/c-ares/c-ares_1.5.3.bb
@@ -0,0 +1,18 @@
+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}"
+PR = "r1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-shared"
+
+do_stage() {
+ oe_libinstall -C .libs -a -so libcares ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/ares
+ install -m 0644 ares*.h ${STAGING_INCDIR}/ares/
+}
+