2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://download.berlios.de
/dhcpcd
/
16 PKG_MD5SUM
:=e9100e53f64ca1f9fb0d392c3a623738
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=DHCP client for automatically configuring IPv4 networking
24 URL
:=http
://dhcpcd.berlios.de
/
27 define Package
/dhcpcd
/description
28 Simple configuration
: supports executions of a script when the
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
34 DESTDIR
="$(PKG_INSTALL_DIR)" \
36 CFLAGS
="$(TARGET_CFLAGS)" \
40 define Package
/dhcpcd
/install
41 $(INSTALL_DIR
) $(1)/sbin
42 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/* $(1)/sbin
/
45 $(eval
$(call BuildPackage
,dhcpcd
))