enca, disable static libraries (#7616)

This commit is contained in:
Schrijvers Luc
2022-12-21 20:05:04 +01:00
committed by GitHub
parent a5e4121bed
commit 8d3e0a3dbd
2 changed files with 12 additions and 9 deletions

View File

@@ -7,12 +7,12 @@ HOMEPAGE="https://cihar.com/software/enca/"
COPYRIGHT="2000-2003 David Necas (Yeti)
2009-2013 Michal Cihar"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://dl.cihar.com/enca/enca-$portVersion.tar.bz2"
CHECKSUM_SHA256="bba29ceb57e7989b89a5a28a97573ae55f46b40fb96f18d83a1d08a205752bc6"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
ARCHITECTURES="!all x86_gcc2"
SECONDARY_ARCHITECTURES="x86_gcc2"
PROVIDES="
enca$secondaryArchSuffix = $portVersion compat >= 1
@@ -55,7 +55,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -63,10 +63,13 @@ INSTALL()
{
make install
# remove libtool file
rm $libDir/libenca.la
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir $documentationDir
fi
prepareInstalledDevelLibs libenca
prepareInstalledDevelLib libenca
fixPkgconfig
# devel package

View File

@@ -7,12 +7,12 @@ HOMEPAGE="https://cihar.com/software/enca/"
COPYRIGHT="2000-2003 David Necas (Yeti)
2009-2013 Michal Cihar"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://dl.cihar.com/enca/enca-$portVersion.tar.xz"
CHECKSUM_SHA256="3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
enca$secondaryArchSuffix = $portVersion compat >= 1
@@ -55,7 +55,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -69,7 +69,7 @@ INSTALL()
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir $documentationDir
fi
prepareInstalledDevelLibs libenca
prepareInstalledDevelLib libenca
fixPkgconfig
# devel package