Fix missing prefix in pkgconfig files (#9738)

This commit is contained in:
Schrijvers Luc
2023-11-08 10:47:38 +00:00
committed by GitHub
parent 2013dcc952
commit bbd213103b
3 changed files with 10 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ the JasPer Software Reference Manual."
HOMEPAGE="http://www.ece.uvic.ca/~frodo/jasper/"
COPYRIGHT="1999-2007 Michael D. Adams"
LICENSE="JasPer v2"
REVISION="5"
REVISION="6"
SOURCE_URI="https://github.com/mdadams/jasper/archive/version-$portVersion.tar.gz"
CHECKSUM_SHA256="f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1"
SOURCE_DIR="jasper-version-$portVersion"
@@ -80,6 +80,9 @@ INSTALL()
{
make -C build install
sed -i "1i prefix=$prefix" \
$libDir/pkgconfig/jasper.pc
prepareInstalledDevelLib libjasper
fixPkgconfig

View File

@@ -4,7 +4,7 @@ the most commonly occurring problems in numerical linear algebra."
HOMEPAGE="http://www.netlib.org/lapack/"
COPYRIGHT="1992-2021 The LAPACK Project"
LICENSE="BSD (3-clause)"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/Reference-LAPACK/lapack/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="328c1bea493a32cac5257d84157dc686cc3ab0b004e2bea22044e0a59f6f8a19"
SOURCE_DIR="lapack-$portVersion"
@@ -92,6 +92,7 @@ INSTALL()
libtmglib
sed -i "1i prefix=$prefix" \
$libDir/pkgconfig/cblas.pc \
$libDir/pkgconfig/lapack.pc \
$libDir/pkgconfig/lapacke.pc

View File

@@ -4,7 +4,7 @@ version."
HOMEPAGE="http://www.openblas.net/"
COPYRIGHT="2011-2017 The OpenBLAS Project"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="http://github.com/xianyi/OpenBLAS/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="5d9491d07168a5d00116cdc068a40022c3455bf9293c7cb86a65b1054d7e5114"
SOURCE_FILENAME="OpenBLAS-$portVersion.tar.gz"
@@ -89,8 +89,10 @@ INSTALL()
rm -f $libDir/*.a
prepareInstalledDevelLibs libopenblas libopenblasp-r$portVersion
sed -i "1i prefix=$prefix" \
$libDir/pkgconfig/openblas.pc
prepareInstalledDevelLibs libopenblas libopenblasp-r$portVersion
fixPkgconfig
cp -P $developLibDir/libopenblas.so.0 $libDir