mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
NanoSVGTranslator: add recipe for 1.0.3 version
This commit is contained in:
50
haiku-apps/nanosvgtranslator/nanosvgtranslator-1.0.3.recipe
Normal file
50
haiku-apps/nanosvgtranslator/nanosvgtranslator-1.0.3.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
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."
|
||||
HOMEPAGE="https://github.com/threedeyes/NanoSVGTranslator"
|
||||
COPYRIGHT="2013-2017 3dEyes**"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
commit="f5ac1bd0c26397e2233f24309bed1c1425f53ce6"
|
||||
SOURCE_URI="https://github.com/threedeyes/NanoSVGTranslator/archive/$commit.tar.gz"
|
||||
CHECKSUM_SHA256="016394e12467602c07f58f2249ed7393ce67cfc4b0c87fee1bfadf77a4f8f6ed"
|
||||
SOURCE_DIR="NanoSVGTranslator-$commit"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user