diff options
author | Jeremy Blosser | 2014-09-15 21:14:26 -0500 |
---|---|---|
committer | Jeremy Blosser | 2014-09-15 21:14:26 -0500 |
commit | 2f1caabc70adcb1cabff677575405ff738fc0120 (patch) | |
tree | e3b1e43e32257520af5cc19aaa0428760e9f55e2 /archive-libs/snappy/DETAILS | |
parent | a67f89ca59b6ed5924cffacda5ef8aee98793d2f (diff) |
snappy: 1.1.2 and add git version
Diffstat (limited to 'archive-libs/snappy/DETAILS')
-rwxr-xr-x | archive-libs/snappy/DETAILS | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/archive-libs/snappy/DETAILS b/archive-libs/snappy/DETAILS index ed55d03a43..23a0b5e0a8 100755 --- a/archive-libs/snappy/DETAILS +++ b/archive-libs/snappy/DETAILS @@ -1,8 +1,18 @@ +. "$GRIMOIRE/FUNCTIONS" SPELL=snappy - VERSION=1.0.4 - SOURCE_HASH=sha512:34e70dc35af9e8d7601618c2521be0cd0ba74907b8e67362d02c515c06c7bf2a2f58dac3dfed75270b7d9c9a1d6ec408c76e3665dc70bbeda8f87584cb4f01b0 +if [ "${SNAPPY_BRANCH}" == "scm" ]; then + VERSION=$(get_scm_version) + SOURCE=${SPELL}-${SNAPPY_BRANCH}.tar.bz2 +SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${SNAPPY_BRANCH} + FORCE_DOWNLOAD=on + SOURCE_URL[0]=git://github.com/google/${SPELL}.git + SOURCE_IGNORE=volatile +else + VERSION=1.1.2 + 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" WEB_SITE=http://code.google.com/p/snappy/ LICENSE[0]=BSD |