From 164b90649b4f34c3e7cd1b6ded46c921db4fc2f1 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 14 May 2013 11:45:59 +0000 Subject: [PATCH] package/snappy: new package [Peter: needs C++ support] Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/snappy/Config.in | 13 +++++++++++++ package/snappy/snappy.mk | 13 +++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/snappy/Config.in create mode 100644 package/snappy/snappy.mk diff --git a/package/Config.in b/package/Config.in index 428aabaaee..4233ff23ba 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 0000000000..36093bc6ad --- /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 0000000000..2704b9764f --- /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)) -- 2.30.2