mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
Downloading directly from VCS repos is not allowed on package build bots, so use archived exports whenever possible.
52 lines
1.5 KiB
Bash
52 lines
1.5 KiB
Bash
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-2015 3dEyes**"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
|
|
commit="97666698908722e54d3a1746e03fd1f719438237"
|
|
SOURCE_URI="https://github.com/threedeyes/NanoSVGTranslator/archive/$commit.tar.gz"
|
|
SOURCE_DIR="NanoSVGTranslator-$commit"
|
|
CHECKSUM_SHA256="a8fd2d7908f25cbd856aa739f9ee1edcf430ddc9b0578af3879a3d3b8256d649"
|
|
|
|
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
|
|
}
|