Commit 9f98e272 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #631 from jam7/no-static-lib

Change to not create static libraries for several packages
parents aba08dfd 467fff75
require 'package'
class Libffi < Package
version '3.2.1'
version '3.2.1-1'
source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz'
source_sha1 '280c265b789e041c02e5c97815793dfc283fb1e6'
depends_on 'autoconf'
depends_on 'automake'
def self.build
system "./configure", "--disable-debug", "--disable-dependency-tracking"
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
# system "make check" # DejaGNU required
end
end
require 'package'
class Libpipeline < Package
version '1.4.1'
version '1.4.1-1'
source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz'
source_sha1 'b31cc955f22b1aa4545dc8d00ddbde831936594f'
def self.build
system './configure'
system './configure', '--disable-static', '--enable-shared', '--with-pic'
system 'make'
end
......
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
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
require 'package'
class Xzutils < Package
version '5.2.3'
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841'
version '5.2.3-1'
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841'
def self.build
system "./configure",
"--prefix=/usr/local",
"--disable-docs"
system "./configure", "--prefix=/usr/local", "--disable-docs", "--enable-shared", "--disable-static", "--with-pic"
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