summaryrefslogtreecommitdiff
path: root/recipes/c-ares
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/c-ares')
-rw-r--r--recipes/c-ares/c-ares_1.3.0.bb15
-rw-r--r--recipes/c-ares/c-ares_1.5.2.bb15
-rw-r--r--recipes/c-ares/c-ares_1.5.3.bb18
3 files changed, 48 insertions, 0 deletions
diff --git a/recipes/c-ares/c-ares_1.3.0.bb b/recipes/c-ares/c-ares_1.3.0.bb
new file mode 100644
index 0000000000..9098a9cb31
--- /dev/null
+++ b/recipes/c-ares/c-ares_1.3.0.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/
+}
+
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/
+}
+
diff --git a/recipes/c-ares/c-ares_1.5.3.bb b/recipes/c-ares/c-ares_1.5.3.bb
new file mode 100644
index 0000000000..7375bda980
--- /dev/null
+++ b/recipes/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/
+}
+