summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-05-14 11:45:59 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-30 21:02:54 (GMT)
commit164b90649b4f34c3e7cd1b6ded46c921db4fc2f1 (patch)
treee80142e4302d5fd2564902f21e5d69ebef69f3b6
parentd39f6da03c7b2179d0218293f18a0b08693c3fc9 (diff)
downloadbuildroot-164b90649b4f34c3e7cd1b6ded46c921db4fc2f1.tar.gz
buildroot-164b90649b4f34c3e7cd1b6ded46c921db4fc2f1.tar.bz2
package/snappy: new package
[Peter: needs C++ support] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 428aaba..4233ff2 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 0000000..36093bc
--- /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 0000000..2704b97
--- /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))