mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-18 13:23:57 +02:00
mii-tool: fix build on buildbots (fixes #3263)
I think re-ordering the assignments is important here, _and_ using := for PKG_SOURCE_SUBDIR instead of simple =. I also grouped the assignments to make it more readable, IMHO at least :-) While at, we should also specify the license file and remove the unneeded Compile definition - the default just works fine. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
parent
75a74f41e3
commit
eaa7aee2e3
|
@ -10,15 +10,19 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=mii-tool
|
||||
PKG_VERSION=2016-07-10-$(PKG_SOURCE_VERSION)
|
||||
PKG_RELEASE:=2
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_MAINTAINER:=Stijn Segers <borromini.reg@protonmail.com>
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code
|
||||
PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=115f1af2494ded1fcd21c8419d5e289bc4df380f
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_MAINTAINER:=Stijn Segers <borromini.reg@protonmail.com>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mii-tool
|
||||
|
@ -41,10 +45,6 @@ define Build/Configure
|
|||
(cd $(PKG_BUILD_DIR) && yes $$$$'\n' | ./configure.sh config.in )
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default,mii-tool)
|
||||
endef
|
||||
|
||||
define Package/mii-tool/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mii-tool $(1)/usr/sbin/
|
||||
|
|
Loading…
Reference in New Issue
Block a user