2 # Copyright (C) 2009-2010 OpenWrt.org
3 # Copyright (C) 2009 Jakob Pfeiffer
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://c-ares.haxx.se
/download
18 PKG_MD5SUM
:=1196067641411a75d3cbebe074fd36d8
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libcares
28 TITLE
:=Library for asyncronous DNS Requests
(including name resolves
)
29 URL
:=http
://c-ares.haxx.se
/
30 MAINTAINER
:=Karl Palsson
<karlp@remake.is
>
33 define Package
/libcares
/description
34 c-ares is a C library for asynchronous DNS requests
(including name resolves
)
36 C89 compatibility
, MIT licensed
, builds for and runs on POSIX
, Windows
,
37 Netware
, Android and many more operating systems.
41 define Package
/libcares
/install
42 $(INSTALL_DIR
) $(1)/usr
/lib
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* $(1)/usr
/lib
/
46 define Build
/InstallDev
48 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
51 $(eval
$(call BuildPackage
,libcares
))