From d9a790945437fe2a62d1871e2641a01077df428f Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 29 May 2012 12:33:18 +0000 Subject: ramspeed: new package Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/ramspeed/ramspeed.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/ramspeed/ramspeed.mk (limited to 'package/ramspeed/ramspeed.mk') diff --git a/package/ramspeed/ramspeed.mk b/package/ramspeed/ramspeed.mk new file mode 100644 index 000000000..9ac21ad1e --- /dev/null +++ b/package/ramspeed/ramspeed.mk @@ -0,0 +1,21 @@ +############################################################# +# +# 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) + +define RAMSPEED_BUILD_CMDS + cp -f package/ramspeed/Makefile $(@D) + CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + make -C $(@D) $(RAMSPEED_ARCH) +endef + +define RAMSPEED_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/ramspeed $(TARGET_DIR)/usr/bin/ramspeed +endef + +$(eval $(call GENTARGETS)) -- cgit v1.2.3