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DTD/9rfzEa7yQ1zmHLZSJuAjQV
|
||||
wYN+ruWZCTMn6lPw0QQvTQhkYUW8sSo+ShMlWyZvvCptNaB+kWxqX/p4ZbEe5tGf
|
||||
MqAbT3spk454Up8onV2CEgLSCcRnlE34snH9Teyad8W0+wu2yf48PWugsZ6g1A8z
|
||||
U+IGuWsTu5bM24Pr42dgpr6D2MhnHi31rO7xS38nRw1zBzIaGVsDN3iBqsJ1GFZP
|
||||
/Xc31+y0n+2+agWRSufirB1ClAxLcNN0emry1oEXsrp892f2aYAXr75GURp200+k
|
||||
+NdHjCbvkdnD6ncAKGsyNpYQNuXlRetPjMCr7A+O2E+URkzcfjCXeSWPdH/joSVj
|
||||
itZMKchAiumYM4zg/tm8UsDLPnLdkoNoSvzqVh+Dy3G8EfrrzAqK9HGO7iNG3xfx
|
||||
MGa2paO9yZLfSSfre18P5dg7AOmAmqos9wo0joXEVC1OSi0RI+P3vRHsIL1fG+VZ
|
||||
P/C3wMaO2+bgvxVlhNibER9DRp5VfQrN/de7kk8L6WboIUBh0428m+4xjvNBflOE
|
||||
woAQkS+bcYRvEx49j46zOgwLzWrdx1bUBCoDTiQIKOm4QqSgZ2k6J9UKA91+jR8a
|
||||
Pqx3Ww9bOQqGuWGq0beoDxZXSzs9WnUjg8NydPlFI6g17nNv6Y9du3YgI+/TqNCz
|
||||
Jti1oyWz2xX0DaQpXVxNxA==
|
||||
=FlSD
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IOrYZHGd6YW11ZGlv
|
||||
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZVwHoD/4i+g8ijvvoOwjejkZQSsB9
|
||||
16YQ0J6tFEJfYh2yXMeANJLVl9bVkfXrU43NEqzrvmHiwyeHxBget2/dIn5m8+U6
|
||||
/+rZTu03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HlA86lvVG49/o9ZLhde1gCp58Zh
|
||||
GXg8Twsg0NroEmEvRhlDxhgE1elCQha0B2iwM4BauqobT1zeavevF5fdsra32+dZ
|
||||
xBsfbZVO4YyuPuSE2FSCtFst14xr7A4JLGiq1DA1j9FI2K9UTX5ZjE2F2dAxm7dQ
|
||||
M9GvOnMxVepSaaACC3Y+bwOJFfXB7F9jFIXtdKJV1VxserHsJ45FWZFMVFqTjp6m
|
||||
yebFw0PsczqwtrR7hzkOuxyBFdidqyVKLEgtoonKx1sIE9cJQLgKnYBLf+Wv83/W
|
||||
322oJXPGMLPc0xz3mrWecPaaFmTaUb57lVIZ7S5v+ugvNSTEuKDGJL4H3Q4eXwXD
|
||||
IMZUVwpMRx2pVxyepmKfMpvRSD4WALNMfSDGhneFYWkvRVuRG48oborGu0hBFioB
|
||||
Zl5x6tlcl7nf/ZwmPE0eMg==
|
||||
=LXoI
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
PACKAGES.TXT; Fri May 22 20:48:49 UTC 2020
|
||||
PACKAGES.TXT; Fri May 22 20:58:00 UTC 2020
|
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
From 89342ecf34894461cc64c9cbe3f8bc0d18df5073 Mon Sep 17 00:00:00 2001
|
||||
From: "liangyukun.lyk" <lyk19961210@gmail.com>
|
||||
Date: Mon, 27 Aug 2018 18:08:46 +0800
|
||||
Subject: [PATCH] fix cmake build error
|
||||
|
||||
---
|
||||
CMakeLists.txt | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 41a2124..2a822dd 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -145,6 +145,9 @@ if(SNAPPY_BUILD_TESTS)
|
||||
target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H)
|
||||
target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES})
|
||||
|
||||
+ if(HAVE_GTEST)
|
||||
+ target_link_libraries(snappy_unittest gtest)
|
||||
+ endif(HAVE_GTEST)
|
||||
if(HAVE_LIBZ)
|
||||
target_link_libraries(snappy_unittest z)
|
||||
endif(HAVE_LIBZ)
|
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
snappy: snappy (A fast compressor/decompressor)
|
||||
snappy:
|
||||
snappy: Snappy is a compression/decompression library. It does not aim for
|
||||
snappy: maximum compression, or compatibility with any other compression
|
||||
snappy: library; instead, it aims for very high speeds and reasonable
|
||||
snappy: compression. For instance, compared to the fastest mode of zlib,
|
||||
snappy: Snappy is an order of magnitude faster for most inputs, but the
|
||||
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
|
||||
snappy:
|
||||
snappy:
|
||||
snappy:
|
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
snappy: snappy (A fast compressor/decompressor)
|
||||
snappy:
|
||||
snappy: Snappy is a compression/decompression library. It does not aim for
|
||||
snappy: maximum compression, or compatibility with any other compression
|
||||
snappy: library; instead, it aims for very high speeds and reasonable
|
||||
snappy: compression. For instance, compared to the fastest mode of zlib,
|
||||
snappy: Snappy is an order of magnitude faster for most inputs, but the
|
||||
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
|
||||
snappy:
|
||||
snappy:
|
||||
snappy:
|
@ -0,0 +1,21 @@
|
||||
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. For instance,
|
||||
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
|
||||
for most inputs, but the resulting compressed files are anywhere from 20% to
|
||||
100% bigger. (For more information, see "Performance", below.)
|
||||
|
||||
Snappy has the following properties:
|
||||
|
||||
* Fast: Compression speeds at 250 MB/sec and beyond, with no assembler code.
|
||||
See "Performance" below.
|
||||
* Stable: Over the last few years, Snappy has compressed and decompressed
|
||||
petabytes of data in Google's production environment. The Snappy bitstream
|
||||
format is stable and will not change between versions.
|
||||
* Robust: The Snappy decompressor is designed not to crash in the face of
|
||||
corrupted or malicious input.
|
||||
* Free and open source software: Snappy is licensed under a BSD-type license.
|
||||
For more information, see the included COPYING file.
|
||||
|
||||
Snappy has previously been called "Zippy" in some Google presentations
|
||||
and the like.
|
@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
snappy: snappy (A fast compressor/decompressor)
|
||||
snappy:
|
||||
snappy: Snappy is a compression/decompression library. It does not aim for
|
||||
snappy: maximum compression, or compatibility with any other compression
|
||||
snappy: library; instead, it aims for very high speeds and reasonable
|
||||
snappy: compression. For instance, compared to the fastest mode of zlib,
|
||||
snappy: Snappy is an order of magnitude faster for most inputs, but the
|
||||
snappy: resulting compressed files are anywhere from 20% to 100% bigger.
|
||||
snappy:
|
||||
snappy:
|
||||
snappy:
|
@ -0,0 +1,86 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Slackware build script for Snappy
|
||||
# Written by Mário Antunes (mariolpantunes@gmail.com)
|
||||
|
||||
PRGNAM=snappy
|
||||
VERSION=${VERSION:-1.1.8}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix build with gtest installed
|
||||
patch -p1 < $CWD/73.patch
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
..
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
ls -la
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
||||
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
@ -0,0 +1,10 @@
|
||||
PRGNAM="snappy"
|
||||
VERSION="1.1.8"
|
||||
HOMEPAGE="https://github.com/google/snappy"
|
||||
DOWNLOAD="https://github.com/google/snappy/archive/1.1.8/snappy-1.1.8.tar.gz"
|
||||
MD5SUM="70e48cba7fecf289153d009791c9977f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Mário Antunes"
|
||||
EMAIL="mariolpantunes@gmail.com"
|
Loading…
Reference in new issue