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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.berlios.de/dhcpcd/
17 PKG_MD5SUM:=e9100e53f64ca1f9fb0d392c3a623738
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
28 TITLE:=DHCP client for automatically configuring IPv4 networking
29 URL:=http://dhcpcd.berlios.de/
32 define Package/dhcpcd/description
33 Simple configuration: supports executions of a script when the
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
41 CFLAGS="$(TARGET_CFLAGS)" \
45 define Package/dhcpcd/install
46 $(INSTALL_DIR) $(1)/sbin
47 $(CP) $(PKG_INSTALL_DIR)/sbin/* $(1)/sbin/
50 $(eval $(call BuildPackage,dhcpcd))