Commit 1d7de458 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2296 from uberhacker/update-grive-package

Update grive from 0.5.0 to 0.5.0-1
parents 7301943f c7cfb95c
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Grive < Package class Grive < Package
description 'Google Drive client with support for new Drive REST API and partial sync' description 'Google Drive client with support for new Drive REST API and partial sync'
homepage 'https://github.com/vitalif/grive2' homepage 'https://github.com/vitalif/grive2'
version '0.5.0' version '0.5.0-1'
source_url 'https://github.com/vitalif/grive2/archive/v0.5.0.tar.gz' source_url 'https://github.com/vitalif/grive2/archive/v0.5.0.tar.gz'
source_sha256 '24641ef4802eb93bb55e7069bca55c4fb8aa17fd88833b9c89a1b2ee7d266567' source_sha256 '24641ef4802eb93bb55e7069bca55c4fb8aa17fd88833b9c89a1b2ee7d266567'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/grive-0.5.0-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'ea606c3ae5c87ff65ad07f2b3923f39cd645286aaad59af6892feda6ae73c3d3', aarch64: 'e42ae9643925d4500328fecc1149f24c7dbaa1ccc6c8ec4129b408ad6cbaeb02',
armv7l: 'ea606c3ae5c87ff65ad07f2b3923f39cd645286aaad59af6892feda6ae73c3d3', armv7l: 'e42ae9643925d4500328fecc1149f24c7dbaa1ccc6c8ec4129b408ad6cbaeb02',
i686: '23155b411e631f29d3a9564c58ccee91a359adf5f493a08a8db87923457acde1', i686: 'b037829746c3ead4eb3e344a09c7feaf2c0f252264d157269175d7103d85b740',
x86_64: '5a463602100a35662a1353615f76ae0db082ad6b3d98f17fdecccb8d2c2a1869', x86_64: '294e6a0dbe20fd737982d99014d688a3fe648e18a3703324faefd0daffe3d524',
}) })
depends_on 'yajl' depends_on 'yajl'
...@@ -29,7 +29,7 @@ class Grive < Package ...@@ -29,7 +29,7 @@ class Grive < Package
def self.build def self.build
Dir.mkdir 'build' Dir.mkdir 'build'
Dir.chdir 'build' do Dir.chdir 'build' do
system "cmake .. -DPREFIX=#{CREW_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX}" system "cmake .. -DPREFIX=#{CREW_PREFIX}"
system "make" system "make"
end end
end end
...@@ -37,6 +37,8 @@ class Grive < Package ...@@ -37,6 +37,8 @@ class Grive < Package
def self.install def self.install
Dir.chdir 'build' do Dir.chdir 'build' do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "ln -s #{CREW_LIB_PREFIX}/libbfd.so #{CREW_DEST_LIB_PREFIX}/libbfd-2.25.51.20141117.so"
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment