package/snappy: new package
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 14 May 2013 11:45:59 +0000 (11:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 30 May 2013 21:02:54 +0000 (23:02 +0200)
[Peter: needs C++ support]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/snappy/Config.in [new file with mode: 0644]
package/snappy/snappy.mk [new file with mode: 0644]

index 428aabaaee1810bd7947be98f34db571090b5677..4233ff23ba4d11cb5c0097746fc39bf9ba201ae7 100644 (file)
@@ -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 (file)
index 0000000..36093bc
--- /dev/null
@@ -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 (file)
index 0000000..2704b97
--- /dev/null
@@ -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))