mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Remove static libraries from packages (#7541)
This commit is contained in:
@@ -7,7 +7,7 @@ methods. It is similar in speed with deflate but offers more dense compression."
|
||||
HOMEPAGE="https://github.com/google/brotli"
|
||||
COPYRIGHT="2009, 2010, 2013-2018 Brotli Authors"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/google/brotli/archive/v$portVersion.tar.gz"
|
||||
# Testdata missing in Tarball, see https://github.com/google/brotli/issues/850
|
||||
# For tests 1/ use the git URL
|
||||
@@ -130,7 +130,10 @@ INSTALL()
|
||||
install -t "$manDir/man1" docs/brotli.1
|
||||
install -t "$manDir/man3" docs/*.3
|
||||
|
||||
prepareInstalledDevelLibs libbrotli{common,dec,enc}{,-static}
|
||||
# remove static libraries
|
||||
rm $libDir/*.a
|
||||
|
||||
prepareInstalledDevelLibs libbrotli{common,dec,enc}
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
|
||||
@@ -9,7 +9,7 @@ COPYRIGHT="1997-2018 University of Cambridge
|
||||
2007-2012, Google Inc. All rights reserved."
|
||||
HOMEPAGE="http://www.pcre.org/"
|
||||
LICENSE="PCRE"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/pcre//pcre-8.45.tar.bz2"
|
||||
CHECKSUM_SHA256="4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8"
|
||||
SOURCE_DIR="pcre-$portVersion"
|
||||
@@ -110,7 +110,8 @@ BUILD()
|
||||
--enable-unicode-properties \
|
||||
--with-pic \
|
||||
$jitOption \
|
||||
--enable-shared
|
||||
--enable-shared \
|
||||
--disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ API."
|
||||
HOMEPAGE="https://www.pcre.org/"
|
||||
COPYRIGHT="1997-2017 University of Cambridge"
|
||||
LICENSE="PCRE"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$portVersion/pcre2-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440"
|
||||
SOURCE_DIR="pcre2-$portVersion"
|
||||
@@ -86,6 +86,7 @@ BUILD()
|
||||
--enable-pcre2grep-libz \
|
||||
--enable-pcre2grep-libbz2 \
|
||||
--enable-pcre2test-libedit \
|
||||
--disable-static
|
||||
#--enable-pcre2test-libreadline \
|
||||
#--enable-debug
|
||||
make $jobArgs
|
||||
|
||||
@@ -15,7 +15,7 @@ HOMEPAGE="https://www.openssl.org/"
|
||||
COPYRIGHT="1995-1998 Eric Young
|
||||
1998-2022 The OpenSSL Project"
|
||||
LICENSE="OpenSSL"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.openssl.org/source/openssl-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa"
|
||||
SOURCE_DIR="openssl-$portVersion"
|
||||
@@ -119,6 +119,9 @@ INSTALL()
|
||||
mkdir -p $(dirname $includeDir)
|
||||
mv $prefix/include $includeDir
|
||||
|
||||
# remove static libraries
|
||||
rm $libDir/*.a
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libcrypto libssl
|
||||
fixPkgconfig
|
||||
|
||||
@@ -9,7 +9,7 @@ busload of other useful tricks."
|
||||
HOMEPAGE="https://curl.haxx.se/"
|
||||
COPYRIGHT="1996-2022 Daniel Stenberg"
|
||||
LICENSE="Curl"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://curl.haxx.se/download/curl-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="21a7e83628ee96164ac2b36ff6bf99d467c7b0b621c1f7e317d8f0d96011539c"
|
||||
ADDITIONAL_FILES="curl.rdef"
|
||||
@@ -91,6 +91,7 @@ BUILD()
|
||||
CPPFLAGS=-D_BSD_SOURCE runConfigure ./configure \
|
||||
--enable-ipv6 --enable-manual \
|
||||
--with-openssl --with-libssh2 \
|
||||
--disable-static \
|
||||
--with-ca-bundle="$certsDir/CARootCertificates.pem"
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ HOMEPAGE="https://www.gnu.org/software/gettext/"
|
||||
HOMEPAGE="https://www.gnu.org/software/gettext/"
|
||||
COPYRIGHT="1998-2016 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="7"
|
||||
REVISION="8"
|
||||
SOURCE_URI="http://ftpmirror.gnu.org/gettext/gettext-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43"
|
||||
PATCHES="gettext-$portVersion.patchset"
|
||||
@@ -103,8 +103,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure \
|
||||
--disable-java --without-git \
|
||||
--disable-rpath --disable-maintainer-mode
|
||||
--disable-java \
|
||||
--without-git \
|
||||
--disable-rpath \
|
||||
--disable-static \
|
||||
--disable-maintainer-mode
|
||||
make $jobArgs AUTOCONF=: AUTOMAKE=: AUTOHEADER=: ACLOCAL=:
|
||||
}
|
||||
|
||||
@@ -112,8 +115,8 @@ INSTALL()
|
||||
{
|
||||
make install AUTOCONF=: AUTOMAKE=: AUTOHEADER=: ACLOCAL=:
|
||||
|
||||
# remove libtool files
|
||||
rm -f $libDir/lib*.la
|
||||
# remove libtool files & static libraries
|
||||
rm -f $libDir/lib*.la $libDir/lib*.a
|
||||
|
||||
rm $libDir/charset.alias
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ found in GNU Readline."
|
||||
HOMEPAGE="http://thrysoee.dk/editline/"
|
||||
COPYRIGHT="1992-2021 The NetBSD Foundation, Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://thrysoee.dk/editline/libedit-${portVersion/_/-}.tar.gz"
|
||||
SOURCE_DIR="libedit-${portVersion/_/-}"
|
||||
CHECKSUM_SHA256="6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5"
|
||||
@@ -57,7 +57,8 @@ BUILD()
|
||||
{
|
||||
autoreconf --force --install
|
||||
runConfigure ./configure --enable-examples=no \
|
||||
--enable-widec
|
||||
--enable-widec \
|
||||
--disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user