[package] use debian's patch to some display issues (#5182)
[openwrt/svn-archive/archive.git] / net / dhcpcd / Makefile
1 #
2 # Copyright (C) 2007 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 PKG_CAT:=bzcat
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/dhcpcd
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=DHCP client for automatically configuring IPv4 networking
25 URL:=http://dhcpcd.berlios.de/
26 endef
27
28 define Package/dhcpcd/description
29 Simple configuration: supports executions of a script when the
30 IP address changes.
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 CC="$(TARGET_CC)" \
37 CFLAGS="$(TARGET_CFLAGS)" \
38 all install
39 endef
40
41 define Package/dhcpcd/install
42 $(INSTALL_DIR) $(1)/sbin
43 $(CP) $(PKG_INSTALL_DIR)/sbin/* $(1)/sbin/
44 endef
45
46 $(eval $(call BuildPackage,dhcpcd))
47