Commit a48fcf28 authored by daemonspudguy's avatar daemonspudguy Committed by GitHub

Add Alpine email client (#3845)

Add alpine package
parent 89ce8e5c
require 'package'
class Alpine < Package # The first character of the class name must be upper case
description 'The continuation of the Alpine email client from University of Washington.'
homepage 'http://alpine.x10host.com/alpine'
version '2.22'
source_url 'http://alpine.x10host.com/alpine/release/src/alpine-2.22.tar.xz'
source_sha256 '849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb' # Use the command "sha256sum"
def self.build # the steps required to build the package
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-ssl-dir=/etc/ssl",
"--with-ssl-include-dir=#{CREW_PREFIX}/include",
"--with-ssl-lib-dir=#{CREW_LIB_PREFIX}", "--disable-nls",
"--with-system-pinerc=#{CREW_PREFIX}/etc/alpine.d/pine.conf",
"--with-system-fixed-pinerc=#{CREW_PREFIX}/etc/alpine/pine.conf.fixed"
system "make"
end
def self.install # the steps required to install the package
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check # the steps required to check if the package was built ok
system "make", "check"
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