mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
81 lines
1.8 KiB
Bash
81 lines
1.8 KiB
Bash
SUMMARY="A library that simplifies the drawing of beautiful curves"
|
|
DESCRIPTION="LibSpiro is a shared library designed to give programs the \
|
|
ability to create smooth continuous curves based on a given set of codes and \
|
|
X,Y constraints.
|
|
|
|
The main user(s) of Libspiro are Font editing programs such as FontForge, and \
|
|
forked copies have been seen in more artistic programs such as InkScape, or \
|
|
in libraries such as GEGL. There may be other possible uses in future, and \
|
|
this library has strong potential in graphical and vector type programs."
|
|
HOMEPAGE="https://github.com/fontforge/libspiro"
|
|
COPYRIGHT="2007 Raph Levien
|
|
George Williams"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/fontforge/libspiro/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="22409086ac07b482267c5328acde1956ca84cee8b4fa6c386f89e7014ea331da"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.0.2"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libspiro$secondaryArchSuffix = $portVersion
|
|
lib:libspiro$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libspiro${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libspiro$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libspiro$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage libspiro$secondaryArchSuffix \
|
|
$libDir/libspiro.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libspiro
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$manDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|