Commit 30a8c800 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Merge pull request #4004 from uberhacker/add-pre-built-binaries-libplist-lftp

Add pre-built binaries for libplist and lftp
parents 6e968f3e 4ab94b9f
......@@ -8,17 +8,20 @@ class Lftp < Package
source_sha256 '5969fcaefd102955dd882f3bcd8962198bc537224749ed92f206f415207a024b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lftp-4.9.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lftp-4.9.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lftp-4.9.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lftp-4.9.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a803ec42009f43031b2d77d8ffe88933877d5d921fcb4bb093dd0e366ca3cfb1',
armv7l: 'a803ec42009f43031b2d77d8ffe88933877d5d921fcb4bb093dd0e366ca3cfb1',
i686: '2752fe7e4035e1847979379fcb1723a48bc9f06d6a37d3eda92c67fbe803ebdd',
x86_64: '6001988f90424bb072329bf8ff8f84410c17e65dbd06a90d43f27f323453b731',
})
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--disable-nls \
--with-linux-crypto"
system "./configure #{CREW_OPTIONS} --disable-nls --with-linux-crypto"
system 'make'
end
......
......@@ -8,26 +8,30 @@ class Libplist < Package
source_sha256 '4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libplist-2.1.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libplist-2.1.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libplist-2.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libplist-2.1.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'adca559671e694422de5f311b9c968d4e7f5fc45aae8c1c9140e825741475d26',
armv7l: 'adca559671e694422de5f311b9c968d4e7f5fc45aae8c1c9140e825741475d26',
i686: '11f60dc59c427f286b717fcd63ada445effc478c5895f51130128a6b1ff5418e',
x86_64: 'd6580afa2ec93f6a41f95e31cb86dd5dd7828f09a5091323f2fe6a4ee90a4e20',
})
depends_on 'glib'
def self.build
system './autogen.sh CC=gcc CXX=g++'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking'
system "PYTHON=#{CREW_PREFIX}/bin/python3 ./autogen.sh CC=gcc CXX=g++ #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system 'make', 'check'
end
def self.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