0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-03 03:17:42 +00:00
Files
packages/net/mdio-tools/Makefile
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00

45 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=mdio-tools
PKG_VERSION:=1.3.1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f
PKG_MIRROR_HASH:=faa3ad7dd254361c6a9f044aa134982cbeec0423149726e82363833b9f0e0f11
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:=+kmod-mdio-netlink +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/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mvls/mvls $(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))