From 176e4a25c63e6538aa750bef3f8d19481911ebb4 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Mon, 26 Jun 2017 22:00:41 +0200 Subject: [PATCH] tinyxml: fix recipe (#1475) --- dev-libs/tinyxml/tinyxml-2.6.2.recipe | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dev-libs/tinyxml/tinyxml-2.6.2.recipe b/dev-libs/tinyxml/tinyxml-2.6.2.recipe index b81543ba3..73335724e 100644 --- a/dev-libs/tinyxml/tinyxml-2.6.2.recipe +++ b/dev-libs/tinyxml/tinyxml-2.6.2.recipe @@ -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