Commit fbee98d0 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #5468 from satmandu/mc

mc => 4.8.26, remove libressl dep
parents 579ed7fe 66d90451
......@@ -3,32 +3,34 @@ require 'package'
class Mc < Package
description 'GNU Midnight Commander is a visual file manager'
homepage 'http://midnight-commander.org/'
version '4.8.25'
version '4.8.26'
license 'GPL-2'
compatibility 'all'
source_url 'https://github.com/MidnightCommander/mc/archive/4.8.25.tar.gz'
source_sha256 '8a4aa1556a528fbe9140c47aa3d0665155187468a17c3b80a824de5fcbbebae1'
source_url "https://github.com/MidnightCommander/mc/archive/#{version}.tar.gz"
source_sha256 'e585508ee4e0066c13d304e4c7135d7c6140f5c5027e01a024b3a508a6cf8025'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.25-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.26-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.26-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.26-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mc-4.8.26-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '5b2e335ad9f3fff1ee7f64f79c3bc0b4b15fd51a6974fa6f11254a99683b887d',
armv7l: '5b2e335ad9f3fff1ee7f64f79c3bc0b4b15fd51a6974fa6f11254a99683b887d',
i686: 'be1e4b7953d540ef610db499db67c55354889c4d305ca96a9dd2a7b90300f3d9',
x86_64: 'be58cc2c96f8cc3c5caddaab9488aa727cc48353e11f9784e7535852886c066c',
binary_sha256({
aarch64: '0613a92137481949becea8a8780b06db5fd7945184dee96e4866d5faf5336681',
armv7l: '0613a92137481949becea8a8780b06db5fd7945184dee96e4866d5faf5336681',
i686: 'c486a081d10adbc367c104f5b1cb9a7ea37cc3609956e6fe6f0b5af444c4a452',
x86_64: 'de22c3351082961fee8499be803a5bd9261de9de42e8510e9c567c0cbf160bc0'
})
depends_on 'glib' => :build
depends_on 'aspell'
depends_on 'aspell' => :build
depends_on 'gpm'
ENV['LIBS'] = '-ldl -lssl -lcrypto'
def self.build
system './autogen.sh'
system "./configure #{CREW_OPTIONS}"
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "env CFLAGS='-pipe -flto=auto' CPPFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
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