[package] update rrdtool to 1.2.30
[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 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dhcpcd
12 PKG_VERSION:=3.0.17
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.berlios.de/dhcpcd/
17 PKG_MD5SUM:=e9100e53f64ca1f9fb0d392c3a623738
18 PKG_CAT:=bzcat
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://dhcpcd.berlios.de/
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 Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 CC="$(TARGET_CC)" \
38 CFLAGS="$(TARGET_CFLAGS)" \
39 all install
40 endef
41
42 define Package/dhcpcd/install
43 $(INSTALL_DIR) $(1)/sbin
44 $(CP) $(PKG_INSTALL_DIR)/sbin/* $(1)/sbin/
45 endef
46
47 $(eval $(call BuildPackage,dhcpcd))
48