Commit 6a4eac18 authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Enable building of static libraries (#3566)

This is needed for Neovim to work and possibly others. Tested on ARM.
parent a99d75d7
......@@ -3,31 +3,25 @@ require 'package'
class Libtool < Package
description 'GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface.'
homepage 'https://www.gnu.org/software/libtool/'
version '2.4.6-3'
version '2.4.6-4'
source_url 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz'
source_sha256 'e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libtool-2.4.6-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libtool-2.4.6-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libtool-2.4.6-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libtool-2.4.6-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8c590c1a92eb3fba9a341a503c5cdd1bcc0bc505a261c43ce3a980aac94ad18d',
armv7l: '8c590c1a92eb3fba9a341a503c5cdd1bcc0bc505a261c43ce3a980aac94ad18d',
i686: 'ab153de8259f9eccd2ffbe3ef6eac2bad7d483d6338b064332abae11a3d00ac8',
x86_64: 'aebbf436953ab2ed8d844ec2449216578243fda5145c5cdb12c257f388e863c2',
})
depends_on 'm4'
def self.build
system "./configure", "--disable-static", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
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