Commit b9c87bab authored by Casey Strouse's avatar Casey Strouse

Update bacon from 3.5.4 to 3.6

This is a bugfix and maintenance release.

Tested as working on XE500C13-K01US.
parent 054ce641
......@@ -3,33 +3,27 @@ require 'package'
class Bacon < Package
description 'BaCon is a free BASIC to C translator for Unix-based systems.'
homepage 'http://www.basic-converter.org/'
version '3.5.4'
source_url 'http://www.basic-converter.org/stable/bacon-3.5.4.tar.gz'
source_sha256 '7b1c72fd46daaa43d19e1bfac2f9bcd9decc5b8443d8f5640e903bfc35e122b9'
version '3.6'
source_url 'http://www.basic-converter.org/stable/bacon-3.6.tar.gz'
source_sha256 'c09d7a69ac1f9dd4c607ca5248e2b20a91c279779bef7a8887e93b77f982f855'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.5.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.5.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.5.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.5.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3415da0b1303b42ef2b2b4385a9aec58f02ae237b05e857f4bbb1807290a5b41',
armv7l: '3415da0b1303b42ef2b2b4385a9aec58f02ae237b05e857f4bbb1807290a5b41',
i686: '2cf7f4c550c50898fbadeabb792e2dc22423532e20241967e193c97fd138d767',
x86_64: '023778b5d5ccbbd276bd97a49077633ca5c8c249778b0cfce2a720d74f0efc66',
})
def self.build
system "./configure --prefix=/usr/local --disable-gui"
system 'sed -i "45s,/usr/share,/usr/local/share," Makefile'
system 'sed -i "46s,/usr/share,/usr/local/share," Makefile'
depends_on 'buildessential'
# force to compile in sequential since bacon Makefile doesn't work in parallel
system "make", "-j1"
def self.build
system 'sed -i "s,/usr/share,\$\(DATADIR\)," Makefile.in'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-gui'
system 'make', '-j1' # parallel builds don't work with bacon
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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