packages/libs/c-ares/Makefile
swalker f05bef88f0 [packages] c-ares: update to 1.7.3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 00:18:36 +00:00

48 lines
992 B
Makefile

#
# Copyright (C) 2009-2010 OpenWrt.org
# Copyright (C) 2009 Jakob Pfeiffer
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=c-ares
PKG_VERSION:=1.7.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://c-ares.haxx.se
PKG_MD5SUM:=97ebef758804a6e9b6c0bc65d3c2c25a
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))