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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://c-ares.haxx.se
17 PKG_MD5SUM
:=dd71e8f07d9f3c837e12a5416d1b7f73
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libcares
27 TITLE
:=Library for asyncronous name resolves
28 URL
:=$(PKG_SOURCE_URL
)
31 define Package
/libcares
/description
32 c-ares is a C library that performs DNS requests and name resolves
36 define Package
/libcares
/install
37 $(INSTALL_DIR
) $(1)/usr
/lib
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* $(1)/usr
/lib
/
41 define Build
/InstallDev
43 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
46 $(eval
$(call BuildPackage
,libcares
))