Commit 9fc98291 authored by Michał Siwek's avatar Michał Siwek

Merge pull request #20 from appelgriebsch/dartsdk

Dart SDK 1.5.3 binary package
parents ab1b9f57 af0729d1
require 'package'
class Dartsdk < Package
version '1.5.3'
binary_url ({
i686: 'http://www.appelgriebsch.org/packages/chromeos/dartsdk-1.5.3-chromeos-x86.tar.gz',
x86_64: 'http://www.appelgriebsch.org/packages/chromeos/dartsdk-1.5.3-chromeos-x86_64.tar.gz'
})
binary_sha1 ({
i686: 'c236b9d5bc7334e38548fade0db9343b6625fae1',
x86_64: 'c080f51f7c6fd7f9730c83fc30385f894f098c51'
})
end
require 'package' # include package class file
class Sqlite < Package # name the package and make it a Package class instance
version '3.8.5' # software version
source_url 'https://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz' # software source tarball url
source_sha1 '7f667e10ccebc26ab2086b8a30cb0a600ca0acae' # source tarball sha1 sum
def self.build # self.build contains commands needed to build the software from source
system "./configure"
system "make" # ordered chronologically
end
def self.install # self.install contains commands needed to install the software on the target system
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end # during installation
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