mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
tinyxml: fix recipe (#1475)
This commit is contained in:
committed by
Jérôme Duval
parent
d1caeaf180
commit
176e4a25c6
@@ -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="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/tinyxml/tinyxml/$portVersion/tinyxml_2_6_2.tar.gz"
|
||||
CHECKSUM_SHA256="15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
|
||||
SOURCE_DIR="tinyxml"
|
||||
@@ -44,16 +44,17 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cp -f $portDir/additional-files/Makefile ./
|
||||
sed -e "s:@MAJOR_V@:2:" -e "s:@MINOR_V@:6.2:" \
|
||||
$portDir/additional-files/Makefile > ./Makefile
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $developDocDir $includeDir $libDir
|
||||
mv docs/* $developDocDir
|
||||
mv tiny*.h $includeDir
|
||||
mv libtinyxml.so.@MAJOR_V@.@MINOR_V@ $libDir/libtinyxml.so
|
||||
cp -R docs/* $developDocDir
|
||||
cp -R tiny*.h $includeDir
|
||||
cp libtinyxml.so* $libDir
|
||||
|
||||
prepareInstalledDevelLibs libtinyxml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user