update php-apc to 3.0.16, disable pthread mutex's as they are on by default now.
[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 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/dhcpcd
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=DHCP client for automatically configuring IPv4 networking
29 URL:=http://dhcpcd.berlios.de/
30 endef
31
32 define Package/dhcpcd/description
33 Simple configuration: supports executions of a script when the
34 IP address changes.
35 endef
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
40 CC="$(TARGET_CC)" \
41 CFLAGS="$(TARGET_CFLAGS)" \
42 all install
43 endef
44
45 define Package/dhcpcd/install
46 $(INSTALL_DIR) $(1)/sbin
47 $(CP) $(PKG_INSTALL_DIR)/sbin/* $(1)/sbin/
48 endef
49
50 $(eval $(call BuildPackage,dhcpcd))
51