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