mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
6ab19dcb51
Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit f1165bfe7e133b52d2db982df39cc4d5cd30d7ca)
29 lines
699 B
Makefile
29 lines
699 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=mhz
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=https://github.com/wtarreau/mhz.git
|
|
PKG_SOURCE_DATE:=2022-08-18
|
|
PKG_SOURCE_VERSION:=6ec38cbb1371d20078a7a5059dd9faa5b281b2d9
|
|
PKG_MIRROR_HASH:=37559cc8b5e08d23c09878d63cf81ea8d123be45408f3e76e1dc042766a746a7
|
|
|
|
PKG_MAINTAINER:=Robert Marko <robimarko@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/mhz
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=CPU frequency measurement utility
|
|
URL:=https://github.com/wtarreau/mhz
|
|
endef
|
|
|
|
define Package/mhz/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mhz $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,mhz))
|