6098376da596725969bc42341b69b09385a0079c
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ramsmp / ramsmp.mk
1 ################################################################################
2 #
3 # ramsmp
4 #
5 ################################################################################
6
7 RAMSMP_VERSION = 3.5.0
8 RAMSMP_SITE = http://www.alasir.com/software/ramspeed
9 RAMSMP_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
10 RAMSMP_LICENSE = Alasir License
11 RAMSMP_LICENSE_FILES = LICENCE
12
13 define RAMSMP_BUILD_CMDS
14         cp -f package/ramsmp/Makefile $(@D)
15         $(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSMP_ARCH)
16 endef
17
18 define RAMSMP_INSTALL_TARGET_CMDS
19         $(INSTALL) -m 0755 -D $(@D)/ramsmp $(TARGET_DIR)/usr/bin/ramsmp
20 endef
21
22 $(eval $(generic-package))