Recipe cosmetics.

Improved SUMMARY/DESCRIPTIONs.
Re-ordered blocks.
This commit is contained in:
Humdinger
2015-08-24 17:25:09 +02:00
parent 8e317821a9
commit 44defae7e2
11 changed files with 141 additions and 193 deletions

View File

@@ -1,18 +1,20 @@
SUMMARY="Small C++ XML Parser"
DESCRIPTION="
Tinyxml is a small simple, OS independent XML parser for the C++ language. \
It is a free open source software. Timyxml was first created to solve the common \
text I/O file problem. It parses the XML into a DOM-like tree and is able to \
read and write XML files. It allows you to create your own document mark-ups \
or even construct an XML document from scratch with C++ objects."
SUMMARY="A small C++ XML Parser"
DESCRIPTION="Tinyxml is a simple, OS independent XML parser for the C++ \
language.
Timyxml was first created to solve the common text I/O file problem. It \
parses the XML into a DOM-like tree and is able to read and write XML files.\
It allows you to create your own document mark-ups or even construct an XML \
document from scratch with C++ objects."
HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
COPYRIGHT="2001-2010 Lee Thomason"
LICENSE="Zlib"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/tinyxml/files/tinyxml/$portVersion/tinyxml_2_6_2.tar.gz"
CHECKSUM_SHA256="15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
SOURCE_URI_2="http://libtinyxml.googlecode.com/svn/trunk/CMakeLists.txt#noarchive"
CHECKSUM_SHA256_2="12a412abedaf30fff9c75273c1ac7239a7b4b59dd34bdadedd913a9717a3a105"
REVISION="2"
SOURCE_DIR="tinyxml"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -24,10 +26,18 @@ REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
tinyxml${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libtinyxml${secondaryArchSuffix} = $portVersion compat >= 2
"
REQUIRES_devel="
tinyxml${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:grep
@@ -36,8 +46,6 @@ BUILD_PREREQUIRES="
cmd:sed
"
SOURCE_DIR="tinyxml"
BUILD()
{
cp ../../sources-2/CMakeLists.txt ./
@@ -62,13 +70,3 @@ INSTALL()
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
tinyxml${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libtinyxml${secondaryArchSuffix} = $portVersion compat >= 2
"
REQUIRES_devel="
tinyxml${secondaryArchSuffix} == $portVersion base
"