c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
594 B
Makefile
24 lines
594 B
Makefile
################################################################################
|
|
#
|
|
# 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_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
|
endef
|
|
|
|
$(eval $(generic-package))
|