mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libxml, add missing pkgconfig file (#10669)
This commit is contained in:
@@ -8,7 +8,7 @@ document from scratch with C++ objects."
|
||||
HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
|
||||
COPYRIGHT="2001-2010 Lee Thomason"
|
||||
LICENSE="Zlib"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/tinyxml/tinyxml/$portVersion/tinyxml_2_6_2.tar.gz"
|
||||
CHECKSUM_SHA256="15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
|
||||
SOURCE_DIR="tinyxml"
|
||||
@@ -28,10 +28,10 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
tinyxml${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:libtinyxml${secondaryArchSuffix} = $portVersion compat >= 2
|
||||
devel:libtinyxml$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
tinyxml${secondaryArchSuffix} == $portVersion base
|
||||
tinyxml$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -57,7 +57,22 @@ INSTALL()
|
||||
cp -R tiny*.h $includeDir
|
||||
cp libtinyxml.so* $libDir
|
||||
|
||||
prepareInstalledDevelLibs libtinyxml
|
||||
prepareInstalledDevelLib libtinyxml
|
||||
|
||||
# add missing pkgconfig file
|
||||
mkdir -p $developLibDir/pkgconfig
|
||||
cat > $developLibDir/pkgconfig/tinyxml.pc << EOF
|
||||
prefix=$prefix
|
||||
exec_prefix=$prefix
|
||||
libdir=$libDir
|
||||
includedir=$includeDir
|
||||
|
||||
Name: TinyXML
|
||||
Description: A simple, small, C++ XML parser
|
||||
Version: $portVersion
|
||||
Libs: -L\${libdir} -ltinyxml
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
|
||||
Reference in New Issue
Block a user