IAT: new recipe (#2504)

This commit is contained in:
miqlas
2018-05-06 15:17:38 +02:00
committed by GitHub
parent 46304b08ab
commit 067fa0523f

View File

@@ -0,0 +1,59 @@
SUMMARY="Iso9660 Analyzer Tool"
DESCRIPTION="Detects and converts DVD/CD images from BIN/MDF/PDI/CDI/NRG/B5I \
to ISO-9660."
HOMEPAGE="https://sourceforge.net/projects/iat.berlios/"
COPYRIGHT="2007, 2008, 2009 Salvatore Santagati"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/iat.berlios/iat-$portVersion.tar.bz2"
CHECKSUM_SHA256="fb72c42f4be18107ec1bff8448bd6fac2a3926a574d4950a4d5120f0012d62ca"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
iat$secondaryArchSuffix = $portVersion
cmd:iat$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
"
defineDebugInfoPackage iat$secondaryArchSuffix \
"$commandBinDir"/iat
BUILD()
{
runConfigure --omit-dirs "binDir sbinDir" ./configure \
--bindir=$commandBinDir \
--sbindir=$commandBinDir
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}