aboutsummaryrefslogtreecommitdiffstats
path: root/package/ramspeed/ramspeed.mk
blob: 7dc4faae7caa64ea34eda672eaa146b630a13b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# ramspeed
#
################################################################################

RAMSPEED_VERSION = 2.6.0
RAMSPEED_SITE = http://www.alasir.com/software/ramspeed
RAMSPEED_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
RAMSPEED_LICENSE = Alasir License
RAMSPEED_LICENSE_FILES = LICENCE

define RAMSPEED_BUILD_CMDS
	cp -f package/ramspeed/Makefile $(@D)
	$(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSPEED_ARCH)
endef

define RAMSPEED_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0755 -D $(@D)/ramspeed $(TARGET_DIR)/usr/bin/ramspeed
endef

$(eval $(generic-package))