mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Updated tilp package and split dependencies. * Made tilp2.rb a little more eye-friendly. * Uses self.patch section in tilp2 Removes unneeded make install line in tilp2 Changes description on libticalcs2
33 lines
957 B
Ruby
33 lines
957 B
Ruby
require 'package'
|
|
|
|
class Libticalcs2 < Package
|
|
description 'Libticalcs2 offers the library used to communicate with TI calculators. It implements the TI protocol for each type of calculator, independently of the link cable used to establish the link.'
|
|
homepage 'http://lpg.ticalc.org/prj_tilp/'
|
|
version '1.1.9'
|
|
source_url 'https://sourceforge.net/projects/tilp/files/tilp2-linux/tilp2-1.18/libticalcs2-1.1.9.tar.bz2'
|
|
source_sha256 '76780788bc309b647f97513d38dd5f01611c335a72855e0bd10c7bdbf2e38921'
|
|
|
|
binary_url ({
|
|
})
|
|
binary_sha256 ({
|
|
})
|
|
|
|
depends_on 'libticables2'
|
|
|
|
def self.build
|
|
system 'autoreconf -i'
|
|
system "/usr/bin/env",
|
|
"CC=clang -fuse-ld=lld",
|
|
"CXX=clang++ -fuse-ld=lld",
|
|
"./configure",
|
|
"--prefix=#{CREW_PREFIX}",
|
|
"--libdir=#{CREW_LIB_PREFIX}"
|
|
system 'sed -i "s,tests,,g" Makefile'
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make install DESTDIR=#{CREW_DEST_DIR}"
|
|
end
|
|
end
|