aboutsummaryrefslogtreecommitdiff
path: root/package/whetstone/whetstone.mk
blob: f7fc13f41ec780c6f982e5d237185ce10046d3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# whetstone
#
################################################################################

WHETSTONE_VERSION = 1.2
WHETSTONE_SOURCE = whetstone.c
WHETSTONE_SITE = http://www.netlib.org/benchmark/

define WHETSTONE_EXTRACT_CMDS
	cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
endef

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

$(eval $(generic-package))