1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/net/mdio-tools/Makefile
Damien Mascord 1a400370c0 mdio-tools: Bump version to 1.0.0
Upstream released 1.0.0, so change the package to the git tag 1.0.0

Mainly documentation and argument handling changes

Signed-off-by: Damien Mascord <tusker@tusker.org>
2021-09-22 01:05:56 -07:00

43 lines
981 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=mdio-tools
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=1.0.0
PKG_MIRROR_HASH:=e8050610965d7e2c83f4abdff76da7b57d0ed656bbbaff56c757c20d13806932
PKG_FIXUP:=autoreconf
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
include $(INCLUDE_DIR)/package.mk
define Package/mdio-tools
SECTION:=net
CATEGORY:=Utilities
TITLE:=mdio-tools Linux MDIO register access
URL:=https://github.com/wkz/mdio-tools.git
DEPENDS:=+libmnl
endef
define Package/mdio-tools/description
mdio-tools Linux MDIO register access
endef
define Package/mdio-tools/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mdio/mdio $(1)/usr/bin/
endef
define Build/Prepare
$(call Build/Prepare/Default)
$(SED) 's/m4_esyscmd_s(.*)/$(PKG_VERSION)/' $(PKG_BUILD_DIR)/configure.ac
endef
$(eval $(call BuildPackage,mdio-tools))