sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Jeremy Blosser (87a0d7e8dd8fcc6d72de321101af8efc47cde82d)
- From: Jeremy Blosser <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (87a0d7e8dd8fcc6d72de321101af8efc47cde82d)
- Date: Mon, 15 Sep 2014 22:37:41 -0500
GIT changes to master grimoire by Jeremy Blosser <jblosser AT sourcemage.org>:
ChangeLog | 3 +++
archive-libs/snappy/DETAILS | 2 +-
database/leveldb/BUILD | 1 +
database/leveldb/DEPENDS | 8 ++++++++
database/leveldb/DETAILS | 25 +++++++++++++++++++++++++
database/leveldb/HISTORY | 3 +++
database/leveldb/INSTALL | 11 +++++++++++
database/leveldb/PREPARE | 2 ++
8 files changed, 54 insertions(+), 1 deletion(-)
New commits:
commit 87a0d7e8dd8fcc6d72de321101af8efc47cde82d
Author: Jeremy Blosser <jblosser AT sourcemage.org>
Commit: Jeremy Blosser <jblosser AT sourcemage.org>
leveldb: new spell, fast key-value storage library by Google
commit ebd3fc05030c8c878416b4f45e5096b825fda455
Author: Jeremy Blosser <jblosser AT sourcemage.org>
Commit: Jeremy Blosser <jblosser AT sourcemage.org>
snappy: fix malformed DETAILS
diff --git a/ChangeLog b/ChangeLog
index dcb4ae2..0e2b8db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-09-15 Jeremy Blosser <jblosser AT sourcemage.org>
+ * database/leveldb: new spell, fast key-value storage library by
+
2014-09-15 Ismael Luceno <ismael AT sourcemage.org>
* editors/vim-csapprox: new spell, Make gvim-only colorschemes work
transparently in terminal vim
diff --git a/archive-libs/snappy/DETAILS b/archive-libs/snappy/DETAILS
index 23a0b5e..bb31a53 100755
--- a/archive-libs/snappy/DETAILS
+++ b/archive-libs/snappy/DETAILS
@@ -12,8 +12,8 @@ else
SOURCE_HASH=sha512:da0e80528dfc815d765347c60dc5f14bc7fb882cc6894b87d3a43dec1a127cf8bcfe46e6cb93e130790c0ebd67368a1042500d9080f844441803c1b69c3cc07e
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://snappy.googlecode.com/files/$SOURCE
-fi
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+fi
WEB_SITE=http://code.google.com/p/snappy/
LICENSE[0]=BSD
ENTERED=20120116
diff --git a/database/leveldb/BUILD b/database/leveldb/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/database/leveldb/BUILD
@@ -0,0 +1 @@
+make
diff --git a/database/leveldb/DEPENDS b/database/leveldb/DEPENDS
new file mode 100755
index 0000000..68614d1
--- /dev/null
+++ b/database/leveldb/DEPENDS
@@ -0,0 +1,8 @@
+optional_depends google-perftools \
+ "" \
+ "" \
+ "for tcmalloc" &&
+optional_depends snappy \
+ "" \
+ "" \
+ "compress data using snappy"
diff --git a/database/leveldb/DETAILS b/database/leveldb/DETAILS
new file mode 100755
index 0000000..b793cd6
--- /dev/null
+++ b/database/leveldb/DETAILS
@@ -0,0 +1,25 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL=leveldb
+ LIBVER=1.17
+if [ "${LEVELDB_BRANCH}" == "scm" ]; then
+ VERSION=$(get_scm_version)
+ SOURCE=${SPELL}-${LEVELDB_BRANCH}.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${LEVELDB_BRANCH}
+ FORCE_DOWNLOAD=on
+ SOURCE_URL[0]=git://github.com/google/${SPELL}.git
+ SOURCE_IGNORE=volatile
+else
+ VERSION=1.17
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://github.com/google/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:8bd279078d421ae4bbca6031680764957ad19be356eb186a686fa62869ad64635764ca1d421a2bb1d747349faea415355101c88e5455bde8827f631aa6c7f711
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="http://code.google.com/p/leveldb/"
+ LICENSE[0]=BSD3
+ ENTERED=20140915
+ SHORT="fast key-value storage library"
+cat << EOF
+LevelDB is a fast key-value storage library written at Google that provides
+an ordered mapping from string keys to string values.
+EOF
diff --git a/database/leveldb/HISTORY b/database/leveldb/HISTORY
new file mode 100644
index 0000000..bcb9733
--- /dev/null
+++ b/database/leveldb/HISTORY
@@ -0,0 +1,3 @@
+2014-09-15 Jeremy Blosser <jblosser AT sourcemage.org>
+ * PREPARE, BUILD, DEPENDS, DETAILS, INSTALL: spell created
+
diff --git a/database/leveldb/INSTALL b/database/leveldb/INSTALL
new file mode 100755
index 0000000..5466918
--- /dev/null
+++ b/database/leveldb/INSTALL
@@ -0,0 +1,11 @@
+install -m 755 -d ${INSTALL_ROOT}/usr/include/leveldb &&
+install -m 644 ./include/leveldb/* ${INSTALL_ROOT}/usr/include/leveldb/ &&
+
+install -m 644 libleveldb.a ${INSTALL_ROOT}/usr/lib/ &&
+install -m 755 libleveldb.so.${LIBVER} ${INSTALL_ROOT}/usr/lib/ &&
+ldconfig &&
+
+pushd ${INSTALL_ROOT}/usr/lib &&
+ln -sfn libleveldb.so.${LIBVER} libleveldb.so.1 &&
+ln -sfn libleveldb.so.${LIBVER} libleveldb.so &&
+popd
diff --git a/database/leveldb/PREPARE b/database/leveldb/PREPARE
new file mode 100755
index 0000000..98d27e4
--- /dev/null
+++ b/database/leveldb/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm
- [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (87a0d7e8dd8fcc6d72de321101af8efc47cde82d), Jeremy Blosser, 09/15/2014
Archive powered by MHonArc 2.6.24.