mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
SUMMARY="An implementation of SVG Tiny written in C"
|
|
DESCRIPTION="The overall idea of the library is to take some SVG as input, \
|
|
and return a list of paths and texts which can be rendered easily. The \
|
|
library does not do the actual rendering."
|
|
HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny"
|
|
COPYRIGHT="2003-2014 The NetSurf Developers"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
|
|
CHECKSUM_SHA256="9624e575c5e6e3177e803f65fc52af59784952b2861adf8b4a6ca77e05692274"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsvgtiny$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsvgtiny${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsvgtiny$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libsvgtiny$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libwapcaplet$secondaryArchSuffix
|
|
devel:libdom$secondaryArchSuffix
|
|
devel:libhubbub$secondaryArchSuffix
|
|
devel:libparserutils$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
netsurf_buildsystem
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gperf
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
|
INCLUDEDIR=$relativeIncludeDir
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
|
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir install
|
|
|
|
prepareInstalledDevelLib libsvgtiny
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel $developDir
|
|
}
|