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

RAMSMP_VERSION = 3.5.0
RAMSMP_SITE = http://www.alasir.com/software/ramspeed
RAMSMP_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
RAMSMP_LICENSE = Alasir License
RAMSMP_LICENSE_FILES = LICENCE

define RAMSMP_BUILD_CMDS
	cp -f package/ramsmp/Makefile $(@D)
	$(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSMP_ARCH)
endef

define RAMSMP_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0755 -D $(@D)/ramsmp $(TARGET_DIR)/usr/bin/ramsmp
endef

$(eval $(generic-package))