bemused: fix build by including more include files
[packages.git] / utils / macchanger / Makefile
1 #
2 # Copyright (C) 2006 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:=macchanger
11 PKG_VERSION:=1.5.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/macchanger
16 PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/macchanger
23   SECTION:=utils
24   CATEGORY:=Utilities
25   TITLE:=utility for viewing/manipulating the MAC address
26   URL:=http://www.alobbs.com/macchanger
27 endef
28
29 define Package/macchanger/description
30         This is a GNU/Linux utility for viewing/manipulating the MAC address
31         of network interfaces.
32 endef
33
34 define Package/macchanger/install
35         $(INSTALL_DIR) $(1)/usr/bin
36         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
37         $(INSTALL_DIR) $(1)/usr/share
38         $(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
39 endef
40
41 $(eval $(call BuildPackage,macchanger))