Created
October 10, 2022 12:41
-
-
Save idoop/9501a4b8aa3dae6f35321d4fb2b55620 to your computer and use it in GitHub Desktop.
sysbench for OpenWRT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include $(TOPDIR)/rules.mk | |
PKG_NAME:=sysbench | |
PKG_VERSION:=master | |
PKG_MAINTAINER:=ChenYang <[email protected]> | |
PKG_SOURCE_PROTO:=git | |
PKG_SOURCE_URL:=https://github.com/akopytov/sysbench.git | |
PKG_SOURCE_VERSION:=df89d34c410a2277e19f77e47e535d0890b2029b | |
PKG_BUILD_PARALLEL:=1 | |
PKG_INSTALL:=1 | |
PKG_FIXUP:=autoreconf | |
include $(INCLUDE_DIR)/package.mk | |
define Package/$(PKG_NAME) | |
SECTION:=utils | |
CATEGORY:=Utilities | |
TITLE:=sysbench | |
URL:=https://github.com/akopytov/sysbench | |
DEPENDS:=+libstdcpp +luajit +concurrencykit | |
endef | |
define Package/$(PKG_NAME)/description | |
sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. | |
endef | |
CONFIGURE_ARGS += --without-mysql --disable-FEATURE --with-system-luajit --with-system-ck | |
define Package/$(PKG_NAME)/install | |
$(INSTALL_DIR) $(1)/usr/bin | |
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin | |
endef | |
$(eval $(call BuildPackage,$(PKG_NAME))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment