Files
haikuports/media-libs/libsvgtiny/libsvgtiny-0.1.2.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

65 lines
1.4 KiB
Plaintext

SUMMARY="Libsvgtiny is 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"
SRC_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
CHECKSUM_SHA256="a5ad4ba467e2ba10ac13fb881937655c5d0ef8e9582ede6a2c73447c87d06e90"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="libsvgtiny-0.1.1.patchset"
PROVIDES="
libsvgtiny = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
devel:libwapcaplet
devel:libdom
devel:libhubbub
devel:libparserutils
"
BUILD_PREREQUIRES="
haiku_devel
netsurf_buildsystem
cmd:gcc
cmd:gperf
cmd:make
cmd:pkg_config
"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
}
INSTALL()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir install
prepareInstalledDevelLib libsvgtiny
fixPkgconfig
# devel package
packageEntries devel $developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libsvgtiny_devel = $portVersion
devel:libsvgtiny = $portVersion
"
REQUIRES_devel="
libsvgtiny$secondaryArchSuffix == $portVersion base
"