mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
Without the prefix set to match the dest directory libtool's finish action kills ld.so.cache and the ability to resolve dynamic library mappings rendiering crew completely broken and requiring a bunch of manual triage.
19 lines
391 B
Ruby
19 lines
391 B
Ruby
require 'package'
|
|
|
|
class Libtool < Package
|
|
version '2.4.6'
|
|
source_url 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz'
|
|
source_sha1 '25b6931265230a06f0fc2146df64c04e5ae6ec33'
|
|
|
|
depends_on 'buildessential'
|
|
|
|
def self.build
|
|
system "./configure --prefix=/usr/local"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|