diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/u-boot-tools.rb | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Library/Formula/u-boot-tools.rb b/Library/Formula/u-boot-tools.rb index fda95e906..e0bd012f3 100644 --- a/Library/Formula/u-boot-tools.rb +++ b/Library/Formula/u-boot-tools.rb @@ -1,13 +1,18 @@ -require 'formula' - class UBootTools < Formula - homepage 'http://www.denx.de/wiki/U-Boot/' - url 'ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2' - sha1 '80bc5f6d3e518803c9320d480e693fe1cb76a494' + homepage "http://www.denx.de/wiki/U-Boot/" + url "ftp://ftp.denx.de/pub/u-boot/u-boot-2015.01.tar.bz2" + sha1 "8d22ab0d9f3902122f160280facacc468bad0da9" + + depends_on "openssl" def install - system 'make tools' - bin.install 'tools/mkimage' - man1.install 'doc/mkimage.1' + system "make", "sandbox_defconfig" + system "make", "tools" + bin.install "tools/mkimage" + man1.install "doc/mkimage.1" + end + + test do + system bin/"mkimage", "-V" end end |
