add c-ares, a library for asynchronous dns requests (based on a patch by Jakob Pfeiffer)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18958 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
672f3b181d
commit
c5c72686ba
41
libs/c-ares/Makefile
Normal file
41
libs/c-ares/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $Id: Makefile xxxx 2009-11-18 07:14:33Z nbd $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=c-ares
|
||||
PKG_VERSION:=1.6.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://c-ares.haxx.se/
|
||||
PKG_SOURCE:=c-ares-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=4503b0db3dd79d3c1f58d87722dbab46
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libcares
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=Library for asyncronous name resolves
|
||||
URL:=$(PKG_SOURCE_URL)
|
||||
endef
|
||||
|
||||
define Package/libcares/description
|
||||
c-ares is a C library that performs DNS requests and name resolves asynchronously.
|
||||
endef
|
||||
|
||||
define Package/libcares/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libcares))
|
||||
|
Loading…
x
Reference in New Issue
Block a user