Commit 79b96d45 authored by Ed Reel's avatar Ed Reel

Add libtinfo package

Change source_url from https to http
parent 9b47cb76
require 'package'
class Libtinfo < Package
description 'Missing ncurses library reference.'
homepage 'https://www.gnu.org/software/ncurses/'
version '0.22'
source_url 'http://downloads.sourceforge.net/project/karthas/release/0.22/libtinfo.so.5'
source_sha256 'e503d6c9fd549bbcac64645d3e4491401f906bd7f10d36bc32390e058066a520'
binary_url ({
})
binary_sha256 ({
})
depends_on 'ncurses'
def self.install
# See https://forums.opensuse.org/showthread.php/446927-missing-library-libtinfo-so-5.
# See also http://www.linuxforums.org/forum/installation/6251-libtinfo-so-5-a.html.
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "ln -sf #{CREW_LIB_PREFIX}/libncurses.so.6 #{CREW_DEST_LIB_PREFIX}/libtinfo.so.5"
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