openwrt-packages/utils/mv88e6xxx_dump/Makefile

38 lines
1004 B
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mv88e6xxx_dump
PKG_RELEASE:=1
PKG_FIXUP:=autoreconf
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/lunn/mv88e6xxx_dump
PKG_MIRROR_HASH:=cee56d21347496ca38a15d7572dbd2b0db32dfbfbb19a8ce679b9095f7b5a247
PKG_SOURCE_DATE:=2023.03.08
PKG_SOURCE_VERSION:=b4c5247ee8bb5512fb80081503aae183b35ed3c6
PKG_MAINTAINER:=Etienne Champetier <champetier.etienne@gmail.com>
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
define Package/mv88e6xxx_dump
SECTION:=utils
CATEGORY:=Utilities
URL:=https://github.com/lunn/mv88e6xxx_dump
TITLE:=mv88e6xxx_dump
DEPENDS:=@(TARGET_ath79||TARGET_imx||TARGET_kirkwood||TARGET_mvebu||TARGET_qoriq) +libmnl
endef
define Package/mv88e6xxx_dump/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mv88e6xxx_dump $(1)/usr/bin/
endef
$(eval $(call BuildPackage,mv88e6xxx_dump))