Merge branch 'dhcpdiscover' of https://github.com/aparcar/packages into cci-work
[feed/packages.git] / utils / dhcpdiscover / Makefile
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # Author: p4u <pau@dabax.net>
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dhcpdiscover
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/dhcpdiscover
15
16 include $(INCLUDE_DIR)/package.mk
17 include $(INCLUDE_DIR)/kernel.mk
18
19 define Package/dhcpdiscover
20 SECTION:=net
21 CATEGORY:=Network
22 TITLE:=dhcpdiscover
23 endef
24
25 define Package/dhcpdiscover/description
26 Brings some information about the existing DHCP servers of the network
27 endef
28
29 define Build/Prepare
30 mkdir -p $(PKG_BUILD_DIR)
31 $(CP) ./src/* $(PKG_BUILD_DIR)/
32 endef
33
34 define Package/dhcpdiscover/install
35 $(INSTALL_DIR) $(1)/bin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dhcpdiscover $(1)/bin/
37 endef
38
39 $(eval $(call BuildPackage,dhcpdiscover))