NanoSVGTranslator: added recipe for version 1.0.0

This commit is contained in:
Sergei Reznikov
2015-03-30 15:27:28 +03:00
parent b427a1bd09
commit a898ccaf62

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"
SRC_URI="git+https://github.com/threedeyes/NanoSVGTranslator#44975d5"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
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
}