homebrew-core/Formula/u-boot-tools.rb
2017-01-10 15:09:41 +01:00

26 lines
775 B
Ruby

class UBootTools < Formula
desc "Universal boot loader"
homepage "http://www.denx.de/wiki/U-Boot/"
url "ftp://ftp.denx.de/pub/u-boot/u-boot-2017.01.tar.bz2"
sha256 "6c425175f93a4bcf2ec9faf5658ef279633dbd7856a293d95bd1ff516528ecf2"
bottle do
cellar :any
sha256 "5294bc120061f782522562f4c52c2a3b101a5cb995b48048efcbda69a7f2c5cf" => :sierra
sha256 "8d9aeda40aba937d4363192d926487425c940d695b16d19bb23e07394f63d756" => :el_capitan
sha256 "51e824bfac4532dfffda4a44e91cee69e7b6504897f4c184c36ce253ad2ee738" => :yosemite
end
depends_on "openssl"
def install
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