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
|
|
|
|
WHETSTONE_SITE = http://www.netlib.org/benchmark/
|
|
|
|
|
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_CLEAN_CMDS
|
|
|
|
rm -f $(@D)/whetstone
|
|
|
|
endef
|
|
|
|
|
|
|
|
define WHETSTONE_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
|
|
|
endef
|
|
|
|
|
|
|
|
define WHETSTONE_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/whetstone
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|