buildroot/package/dacapo/dacapo.mk
Leach, Daniel J 7f01cca9c3 package/dacapo: new package
The DaCapo benchmark suite is intended as a tool for Java benchmarking
by the programming language, memory management and computer
architecture communities.

Depends on the OpenJDK package for Java runtime environment.

Signed-off-by: Daniel J. Leach <dleach@belcan.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-14 15:32:34 +02:00

22 lines
645 B
Makefile

################################################################################
#
# dacapo
#
################################################################################
DACAPO_VERSION = 9.12-MR1-bach
DACAPO_SOURCE = dacapo-$(DACAPO_VERSION).jar
DACAPO_SITE = http://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1
DACAPO_LICENSE = Apache-2.0
DACAPO_LICENSE_FILES = LICENSE
define DACAPO_EXTRACT_CMDS
unzip $(DACAPO_DL_DIR)/$(DACAPO_SOURCE) LICENSE -d $(@D)
endef
define DACAPO_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(DACAPO_DL_DIR)/$(DACAPO_SOURCE) $(TARGET_DIR)/usr/bin/$(DACAPO_SOURCE)
endef
$(eval $(generic-package))