2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:05:50 +01:00
|
|
|
#
|
|
|
|
# whetstone
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:05:50 +01:00
|
|
|
|
|
|
|
WHETSTONE_VERSION = 1.2
|
|
|
|
WHETSTONE_SOURCE = whetstone.c
|
2014-07-31 10:46:58 +02:00
|
|
|
WHETSTONE_SITE = http://www.netlib.org/benchmark
|
2010-12-07 22:05:50 +01:00
|
|
|
|
2011-09-29 21:57:49 +02:00
|
|
|
define WHETSTONE_EXTRACT_CMDS
|
|
|
|
cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
|
|
|
|
endef
|
|
|
|
|
2010-12-07 22:05:50 +01:00
|
|
|
define WHETSTONE_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) LDLIBS="-lm" -C $(@D) whetstone
|
|
|
|
endef
|
|
|
|
|
|
|
|
define WHETSTONE_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|