NanoSVGTranslator: add recipe for version 1.0.2

This commit is contained in:
Gerasim Troeglazov
2015-11-12 10:51:46 +00:00
parent dba7568234
commit fc2fa9f0a9

View File

@@ -0,0 +1,48 @@
SUMMARY="A translator for SVG files"
DESCRIPTION="This is a translator for SVG files based on nanosvg headers by \
Mikko Mononen (https://github.com/memononen/nanosvg). Scalable Vector \
Graphics (SVG) is an XML-based vector image format for two-dimensional \
graphics with support for interactivity and animation. The SVG specification is \
an open standard developed by the World Wide Web Consortium (W3C) since \
1999.
SVG images and their behaviors are defined in XML text files. This means \
that they can be searched, indexed, scripted, and compressed. As XML files, \
SVG images can be created and edited with any text editor, but are more \
often created with drawing software."
LICENSE="MIT"
COPYRIGHT="2013-2015 3dEyes**"
HOMEPAGE="https://github.com/threedeyes/NanoSVGTranslator"
SOURCE_URI="git+https://github.com/threedeyes/NanoSVGTranslator#e3b50134c3d141f74fa8900bb5b3df484f6c56ec"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
nanosvgtranslator$secondaryArchSuffix = $portVersion
addon:NanoSVGTranslator$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $addOnsDir/Translators
cp build/NanoSVGTranslator $addOnsDir/Translators
}