diff --git a/app-cdr/iat/iat-0.1.7.recipe b/app-cdr/iat/iat-0.1.7.recipe new file mode 100644 index 000000000..07339019f --- /dev/null +++ b/app-cdr/iat/iat-0.1.7.recipe @@ -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//, 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 +}