Added dhcpcd to pkg feed
[librewrt/.git] / packages / net / dhcpcd / Makefile
1 #
2 # Copyright (C) 2007-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dhcpcd
11 PKG_VERSION:=3.0.17
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.berlios.de/dhcpcd/
16 PKG_MD5SUM:=e9100e53f64ca1f9fb0d392c3a623738
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/dhcpcd
23   SECTION:=net
24   CATEGORY:=Network
25   TITLE:=DHCP client for automatically configuring IPv4 networking
26   URL:=http://roy.marples.name/projects/dhcpcd
27 endef
28
29 define Package/dhcpcd/description
30         Simple configuration: supports executions of a script when the
31         IP address changes.
32 endef
33
34 define Package/dhcpcd/install
35         $(INSTALL_DIR) $(1)/sbin
36         $(CP) $(PKG_INSTALL_DIR)/sbin/* $(1)/sbin/
37 endef
38
39 $(eval $(call BuildPackage,dhcpcd))
40