Commit 490bc7a2 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1330 from Alanaktion/elinks

Adding elinks package
parents e70c8b76 7a5978b2
require 'package'
class Elinks < Package
description 'Full-Featured Text WWW Browser'
homepage 'http://elinks.or.cz/'
version 'f86be659'
source_url 'https://gitlab.com/alanaktion/elinks-mirror/repository/f86be659718c0cd0a67f88b42f07044c23d0d028/archive.tar.gz'
source_sha256 'c19a342a5a6716b5213a4c539a149711491136d8b12daba7846bc2225c5fb309'
depends_on 'bz2'
depends_on 'lzip'
depends_on 'openssl'
depends_on 'zlibpkg'
def self.build
system "wget -O config/config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'"
system "wget -O config/config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'"
system "sh autogen.sh" unless File.executable? "configure"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
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