aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/snappy/Config.in13
-rw-r--r--package/snappy/snappy.mk13
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 428aabaae..4233ff23b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -386,6 +386,7 @@ endmenu
menu "Compression and decompression"
source "package/libarchive/Config.in"
source "package/lzo/Config.in"
+source "package/snappy/Config.in"
source "package/zlib/Config.in"
endmenu
diff --git a/package/snappy/Config.in b/package/snappy/Config.in
new file mode 100644
index 000000000..36093bc6a
--- /dev/null
+++ b/package/snappy/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_SNAPPY
+ bool "snappy"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ Snappy is a compression/decompression library. It does not aim for
+ maximum compression, or compatibility with any other compression
+ library; instead, it aims for very high speeds and reasonable
+ compression.
+
+ http://code.google.com/p/snappy/
+
+comment "snappy requires a toolchain with C++ support"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/snappy/snappy.mk b/package/snappy/snappy.mk
new file mode 100644
index 000000000..2704b9764
--- /dev/null
+++ b/package/snappy/snappy.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# snappy
+#
+#############################################################
+
+SNAPPY_VERSION = 1.1.0
+SNAPPY_SITE = http://snappy.googlecode.com/files/
+SNAPPY_LICENSE = BSD-3c
+SNAPPY_LICENSE_FILES = COPYING
+SNAPPY_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))