Remove executable bit from these Makefiles. Closes #728
[openwrt/svn-archive/archive.git] / utils / macchanger / Makefile
1 # Copyright (C) 2006 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 # $Id$
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=macchanger
11 PKG_VERSION:=1.5.0
12 PKG_RELEASE:=1
13 PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
14 PKG_SOURCE_URL:=@GNU/macchanger
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
17 PKG_CAT:=zcat
18
19 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/macchanger
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=utility for viewing/manipulating the MAC address
27 DESCRIPTION:=This is a GNU/Linux utility for viewing/manipulating the MAC address\\\
28 of network interfaces.
29 URL:=http://www.alobbs.com/macchanger
30 endef
31
32 define Build/Compile
33 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
34 endef
35
36 define Package/macchanger/install
37 mkdir -p $(1)
38 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
39 endef
40
41 $(eval $(call BuildPackage,macchanger))