Change libtasn1.rb to not create static libraries.

Change URL to mirror URL.
Add check method to perform `make test`.
Increment version number since configuration options are changed.
parent f91b8d95
require 'package'
class Libtasn1 < Package
version '4.10'
source_url 'http://ftp.snt.utwente.nl/pub/software/gnu/libtasn1/libtasn1-4.10.tar.gz'
version '4.10-1'
source_url 'http://ftpmirror.gnu.org/libtasn1/libtasn1-4.10.tar.gz'
source_sha1 'c7b36fa50866bbc889f7503c7fd1e9f9d7c52a64'
def self.build
system './configure --prefix=/usr/local'
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--prefix=/usr/local"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
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