summaryrefslogtreecommitdiff
path: root/package/c-ares
diff options
context:
space:
mode:
authorjseitter@stz-gab.de <jseitter@stz-gab.de>2015-06-25 00:19:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-28 15:14:41 +0200
commit3962e752d82e9b6e7e41e5ed3a777566212ad02e (patch)
tree5c8c7c5a97a24754c6d81df0aa49803b60ef69bb /package/c-ares
parent1490a2c23ffae8b0df564d4a53a65e8d1ee92919 (diff)
add mosquitto and c-ares
Signed-off-by: Joerg Seitter <joerg.seitter@stz-gab.de>
Diffstat (limited to 'package/c-ares')
-rw-r--r--package/c-ares/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/c-ares/Makefile b/package/c-ares/Makefile
new file mode 100644
index 000000000..e0b79ca90
--- /dev/null
+++ b/package/c-ares/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= c-ares
+PKG_VERSION:= 1.10.0
+PKG_RELEASE:= 1
+PKG_HASH:= 3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db
+PKG_DESCR:= c-ares asynchronous dns lib
+PKG_SECTION:= libs/net
+PKG_URL:= http://c-ares.haxx.se
+PKG_SITES:= http://c-ares.haxx.se/download/
+PKG_OPTS:= dev
+
+# if downloaded package is not ending with .tar.xz use following
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,C_ARES,c-ares,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+c-ares-install:
+ $(INSTALL_DIR) $(IDIR_C_ARES)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libcares*.so* \
+ $(IDIR_C_ARES)/usr/lib
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk