source: packages/libs/c-ares/Makefile @ 20982

Last change on this file since 20982 was 20982, checked in by nico, 7 years ago

[packages] c-ares: update to 1.7.1

File size: 992 bytes
Line 
1#
2# Copyright (C) 2009-2010 OpenWrt.org
3# Copyright (C) 2009 Jakob Pfeiffer
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=c-ares
12PKG_VERSION:=1.7.1
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://c-ares.haxx.se
17PKG_MD5SUM:=dc7e0f32e92613aed9aff233a6b69753
18
19PKG_FIXUP:=libtool
20PKG_INSTALL:=1
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/libcares
25  SECTION:=libs
26  CATEGORY:=Libraries
27  TITLE:=Library for asyncronous name resolves
28  URL:=$(PKG_SOURCE_URL)
29endef
30
31define Package/libcares/description
32  c-ares is a C library that performs DNS requests and name resolves
33  asynchronously.
34endef
35
36define Package/libcares/install
37        $(INSTALL_DIR) $(1)/usr/lib
38        $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
39endef
40
41define Build/InstallDev
42        $(INSTALL_DIR) $(1)
43        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
44endef
45
46$(eval $(call BuildPackage,libcares))
47
Note: See TracBrowser for help on using the repository browser.