mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
PugiXML: bump, cleanup (#3901)
This commit is contained in:
@@ -7,12 +7,12 @@ queries. Full Unicode support is also available, with Unicode interface \
|
||||
variants and conversions between different Unicode encodings (which \
|
||||
happen automatically during parsing/saving)."
|
||||
HOMEPAGE="https://pugixml.org/"
|
||||
COPYRIGHT="2006-2016 Arseny Kapoulkine"
|
||||
COPYRIGHT="2006-2018 Arseny Kapoulkine"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/zeux/pugixml/releases/download/v1.8.1/pugixml-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="00d974a1308e85ca0677a981adc1b2855cb060923181053fb0abf4e2f37b8f39"
|
||||
SOURCE_DIR="pugixml-1.8"
|
||||
SOURCE_URI="https://github.com/zeux/pugixml/releases/download/v${portVersion}/pugixml-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d156d35b83f680e40fd6412c4455fdd03544339779134617b9b28d19e11fdba6"
|
||||
SOURCE_DIR="pugixml-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -44,31 +44,28 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage pugixml$secondaryArchSuffix \
|
||||
$libDir/libpugixml.so.1.8
|
||||
$libDir/libpugixml.so.$portVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
$cmakeDirArgs
|
||||
|
||||
make ${jobArgs}
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# move include dir to correct location
|
||||
mkdir -p $(dirname $includeDir)
|
||||
mv $prefix/include $includeDir
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libpugixml
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user