libinstpatch: fix pkgconfig file

This commit is contained in:
Jerome Duval
2020-03-26 17:30:15 +01:00
parent 716cbbf06d
commit 730e9393df

View File

@@ -8,7 +8,7 @@ compressed and saved."
HOMEPAGE="https://github.com/swami/libinstpatch"
COPYRIGHT="1999-2019 Element Green and others"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="libinstpatch-$portVersion.tar.gz"
CHECKSUM_SHA256="8fcc4e60745539d17f10de1ed0e3d02329509e814c0c672d686d6e972113142b"
@@ -68,7 +68,9 @@ INSTALL()
mv $prefix/include $includeDir
prepareInstalledDevelLibs libinstpatch-1.0
fixPkgconfig
fixPkgconfig strict
sed -e 's,^includedir=\(.*\)include,includedir=${prefix}/'${relativeIncludeDir}',' \
-i $developLibDir/pkgconfig/libinstpatch-1.0.pc
# devel package
packageEntries devel \