0
0
Fork 0
haikuports/media-gfx/autotrace/autotrace-0.31.1.recipe

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="all"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
autotrace$secondaryArchSuffix = $portVersion
cmd:autotrace$secondaryArchSuffix = $portVersion
cmd:autotrace_config$secondaryArchSuffix = $portVersion
lib:libautotrace$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
autotrace${secondaryArchSuffix}_devel = $portVersion
devel:libautotrace$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
autotrace$secondaryArchSuffix == $portVersion base
haiku${secondaryArchSuffix}_devel
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $developLibDir
fixPkgconfig
prepareInstalledDevelLibs \
libautotrace
packageEntries devel \
$developDir
}