libcofi: new package
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 6 Jan 2013 10:56:20 +0000 (10:56 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Jan 2013 21:56:15 +0000 (22:56 +0100)
replacement for memcpy and memset functionality
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: wrap help text]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/libcofi/Config.in [new file with mode: 0644]
package/libcofi/libcofi.mk [new file with mode: 0644]

index c25ade2393a21c4225e28b2bcc88dcc204f34a80..3681dd355bb50676f4a533930dcdcf323694477c 100644 (file)
@@ -512,6 +512,7 @@ endmenu
 menu "Other"
 source "package/apr/Config.in"
 source "package/apr-util/Config.in"
+source "package/libcofi/Config.in"
 source "package/classpath/Config.in"
 source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in
new file mode 100644 (file)
index 0000000..e9914d6
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBCOFI
+       bool "libcofi"
+       depends on BR2_arm
+       help
+         A replacement for memcpy and memset functionality for the
+         Raspberry Pi with the intention of gaining greater performance.
+
+         https://github.com/simonjhall/copies-and-fills
diff --git a/package/libcofi/libcofi.mk b/package/libcofi/libcofi.mk
new file mode 100644 (file)
index 0000000..e2ce702
--- /dev/null
@@ -0,0 +1,20 @@
+#############################################################
+#
+# libcofi
+#
+#############################################################
+
+LIBCOFI_VERSION = 7313fbe12b0593034d0a1b606bf33c7cf4ababce
+LIBCOFI_SITE = http://github.com/simonjhall/copies-and-fills/tarball/master
+LIBCOFI_LICENSE = LGPLv2.1
+LIBCOFI_LICENSE_FILES = README.md
+
+define LIBCOFI_BUILD_CMDS
+    $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define LIBCOFI_INSTALL_TARGET_CMDS
+    $(INSTALL) -D -m 0755 $(@D)/libcofi_rpi.so $(TARGET_DIR)/usr/lib/libcofi_rpi.so
+endef
+
+$(eval $(generic-package))