Files
haikuports/media-gfx/autotrace/autotrace-0.31.1.recipe
Gerasim Troeglazov e2901455e4 autotrace: enable on x64 arch
*enable libz and libpng support
2018-04-01 19:00:30 +10:00

73 lines
1.7 KiB
Bash

SUMMARY="A program to turn bitmaps into vectors"
DESCRIPTION="AutoTrace is a program that can convert bitmaps into \
close vectors. It tries to replicate the image as close as possible while \
still being usable to edit manually. It is made to compete with other \
commercial products that do the same."
HOMEPAGE="http://autotrace.sourceforge.net"
COPYRIGHT="2000-2002 AutoTrace contributors"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/autotrace/files/AutoTrace/0.31.1/autotrace-0.31.1.tar.gz/download"
CHECKSUM_SHA256="5a1a923c3335dfd7cbcccb2bbd4cc3d68cafe7713686a2f46a1591ed8a92aff6"
SOURCE_DIR="autotrace-0.31.1"
PATCHES="
autotrace-0.31.1.patchset
autotrace-libpng.patch
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
autotrace$secondaryArchSuffix = $portVersion
lib:libautotrace$secondaryArchSuffix = $portVersion
cmd:autotrace$secondaryArchSuffix = $portVersion
cmd:autotrace_config$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
autotrace${secondaryArchSuffix}_devel = $portVersion
devel:libautotrace$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
autotrace$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:autoconf
"
BUILD()
{
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $developLibDir
fixPkgconfig
prepareInstalledDevelLibs \
libautotrace
packageEntries devel \
$developDir
}