mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libiconv, revbump, add pkgconfig file (#11001)
This commit is contained in:
@@ -97,7 +97,7 @@ HOMEPAGE="https://www.gnu.org/software/libiconv/"
|
||||
COPYRIGHT="2000-2022 Free Software Foundation, Inc."
|
||||
LICENSE="GNU LGPL v2
|
||||
GNU GPL v3"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://ftpmirror.gnu.org/libiconv/libiconv-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313"
|
||||
PATCHES="libiconv-$portVersion.patchset"
|
||||
@@ -186,6 +186,21 @@ INSTALL()
|
||||
|
||||
prepareInstalledDevelLibs libiconv libcharset
|
||||
|
||||
# Add pkgconfig file
|
||||
mkdir -p $developLibDir/pkgconfig
|
||||
cat > $developLibDir/pkgconfig/iconv.pc << EOF
|
||||
bindir=$prefix/bin
|
||||
exec_prefix=$prefix
|
||||
libdir=$libDir
|
||||
includedir=$includeDir
|
||||
|
||||
Name: libiconv
|
||||
Description: $SUMMARY
|
||||
Version: $portVersion
|
||||
Libs: -L$developLibDir -liconv -lcharset
|
||||
Cflags: -I$includeDir
|
||||
EOF
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
|
||||
Reference in New Issue
Block a user