Commit 34a2be5e authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2562 from uberhacker/add-openpam-package

Add openpam package
parents c8e9d5b1 93a6e968
require 'package'
class Openpam < Package
description 'OpenPAM is an open source PAM library that focuses on simplicity, correctness, and cleanliness.'
homepage 'https://www.openpam.org/'
version '20170430'
source_url 'https://www.openpam.org/downloads/35'
source_sha256 '22f65222e9faf5729ee5d2db7796d81f95df1a54b03e89ae4713c85e939be85f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/openpam-20170430-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/openpam-20170430-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/openpam-20170430-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/openpam-20170430-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'e1b31c8686b2722f923a660fd8599a5c846aa873140ffa0516393f58e09c458d',
armv7l: 'e1b31c8686b2722f923a660fd8599a5c846aa873140ffa0516393f58e09c458d',
i686: '38cd52755d074178e9284f830e2c4917655fc274e97c98d799a383829e25ecff',
x86_64: 'ef479ccabafa687208070e0df8d13668d3c3206679d16b67efe7bfb5d30ea09d',
})
def self.build
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