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

73 lines
1.7 KiB
Bash
Raw Permalink Normal View History

2015-01-18 13:22:00 +00:00
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"
2016-02-17 19:26:37 +00:00
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"
2015-01-18 13:22:00 +00:00
CHECKSUM_SHA256="5a1a923c3335dfd7cbcccb2bbd4cc3d68cafe7713686a2f46a1591ed8a92aff6"
2016-02-17 19:26:37 +00:00
SOURCE_DIR="autotrace-0.31.1"
PATCHES="
autotrace-0.31.1.patchset
autotrace-libpng.patch
"
2015-01-18 13:22:00 +00:00
ARCHITECTURES="all"
2015-01-18 13:22:00 +00:00
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
autotrace$secondaryArchSuffix = $portVersion
cmd:autotrace$secondaryArchSuffix = $portVersion
cmd:autotrace_config$secondaryArchSuffix = $portVersion
2018-08-09 07:04:20 +00:00
lib:libautotrace$secondaryArchSuffix = $portVersion
2015-01-18 13:22:00 +00:00
"
2016-02-17 19:26:37 +00:00
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
2016-02-17 19:26:37 +00:00
"
2015-01-18 13:22:00 +00:00
PROVIDES_devel="
autotrace${secondaryArchSuffix}_devel = $portVersion
devel:libautotrace$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
autotrace$secondaryArchSuffix == $portVersion base
2018-08-09 07:04:20 +00:00
haiku${secondaryArchSuffix}_devel
2015-01-18 13:22:00 +00:00
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix
2015-01-18 13:22:00 +00:00
"
BUILD_PREREQUIRES="
cmd:autoconf
2018-08-09 07:04:20 +00:00
cmd:gcc$secondaryArchSuffix
cmd:make
2015-01-18 13:22:00 +00:00
"
BUILD()
{
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $developLibDir
fixPkgconfig
prepareInstalledDevelLibs \
libautotrace
packageEntries devel \
$developDir
}