Change p11kit.rb to not create static libraries.

Increment verion number since configuration options are changed.
parent 1f114b75
require 'package'
class P11kit < Package
version '0.23.2'
version '0.23.2-1'
source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz'
source_sha1 '4da0d7b47935b6cb0f321dd00358b063ae42df71'
......@@ -9,11 +9,17 @@ class P11kit < Package
depends_on 'libtasn1'
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
# Doesn't perform tests since 2 out of 45 fail as
# reported in https://bugs.freedesktop.org/show_bug.cgi?id=95366
# 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