Skip to content

Commit

Permalink
package: utils: add mhz
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko committed Oct 10, 2022
1 parent 2898a09 commit 70ae817
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions package/utils/mhz/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=mhz
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/wtarreau/mhz.git
PKG_SOURCE_DATE:=2022-08-17
PKG_SOURCE_VERSION:=6ec38cbb1371d20078a7a5059dd9faa5b281b2d9
PKG_MIRROR_HASH:=a98bd9f97b470606ab71c7244eb92a0955e3976986590dc9139770ffc8c9ba67

PKG_MAINTAINER:=Robert Marko <[email protected]>

include $(INCLUDE_DIR)/package.mk

define Package/mhz
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CPU frequency measurement utility
endef

define Package/mhz/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mhz $(1)/usr/sbin/mhz
endef

$(eval $(call BuildPackage,mhz))

0 comments on commit 70ae817

Please sign in to comment.