Remove static libraries from packages (#7541)

This commit is contained in:
Schrijvers Luc
2022-12-13 02:44:00 +01:00
committed by GitHub
parent bc461ac0d4
commit 6b0baf3423
7 changed files with 27 additions and 14 deletions

View File

@@ -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