91 lines
2.0 KiB
Bash
91 lines
2.0 KiB
Bash
SUMMARY="An ASCII rendering 2D library"
|
|
DESCRIPTION="aalib is a software library which allows applications to \
|
|
automatically convert still and moving images into ASCII art."
|
|
HOMEPAGE="http://aa-project.sourceforge.net/aalib/"
|
|
COPYRIGHT="1997-2001 Jam Hubicka, Thomas A. K. Kjaer, Tim Newsome, Kamil Toman"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://downloads.sourceforge.net/aa-project/aalib-1.4rc5.tar.gz"
|
|
CHECKSUM_SHA256="fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"
|
|
SOURCE_DIR="aalib-1.4.0"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
aalib$secondaryArchSuffix = $portVersion compat >= 1
|
|
lib:libaa$secondaryArchSuffix = 1.0.4 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
aalib${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
cmd:aafire$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:aainfo$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:aalib_config$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:aasavefont$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:aatest$secondaryArchSuffix = $portVersion compat >= 1
|
|
devel:libaa$secondaryArchSuffix = 1.0.4 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
aalib$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:ranlib$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm $libDir/libaa.la
|
|
|
|
prepareInstalledDevelLib libaa
|
|
fixPkgconfig
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $documentationDir
|
|
maybe_documentationDir=
|
|
else
|
|
maybe_documentationDir=$documentationDir
|
|
fi
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$binDir \
|
|
$dataDir \
|
|
$developDir \
|
|
$maybe_documentationDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|