1SUMMARY="Tool to convert (compressed) UIF images created by MagicISO" 2DESCRIPTION="UIF2ISO is a command-line tool for converting single and \ 3multipart UIF images to the original ISO format. 4The Universal Image Format (UIF), which is a compressed CD/DVD image format, \ 5was created in 2006 by the authors of MagicISO. Although later versions of \ 6MagicISO have tried to obfuscate the UIF format by using encryption, UIF2ISO \ 7is still able to convert these images." 8HOMEPAGE="http://aluigi.org/mytoolz.htm#uif2iso" 9COPYRIGHT="2007-2009 Luigi Auriemma" 10LICENSE="GNU GPL v2" 11REVISION="4" 12SOURCE_URI="http://aluigi.altervista.org/mytoolz/uif2iso.zip" 13CHECKSUM_SHA256="b78dde3e8bc28559f73e2feb46d41c8f57b511ddbe25d63ada704ef8697528ec" 14SOURCE_FILENAME="uif2iso-$portVersion.zip" 15SOURCE_DIR="" 16SOURCE_URI_2="http://httpredir.debian.org/debian/pool/main/u/uif2iso/uif2iso_0.1.7a-1.diff.gz#noarchive" 17CHECKSUM_SHA256_2="60e91e4a3c7b64d18a144b0e2bc0499c1ab10db3676c099725aca820ff429594" 18 19ARCHITECTURES="all !x86_gcc2" 20SECONDARY_ARCHITECTURES="x86" 21 22commandSuffix=$secondaryArchSuffix 23commandBinDir=$binDir 24if [ "$targetArchitecture" = x86_gcc2 ]; then 25 commandSuffix= 26 commandBinDir=$prefix/bin 27fi 28 29PROVIDES=" 30 uif2iso$secondaryArchSuffix = $portVersion 31 cmd:uif2iso$commandSuffix 32 " 33REQUIRES=" 34 haiku$secondaryArchSuffix 35 lib:libz$secondaryArchSuffix 36 " 37 38BUILD_REQUIRES=" 39 haiku${secondaryArchSuffix}_devel 40 devel:libz$secondaryArchSuffix 41 " 42BUILD_PREREQUIRES=" 43 cmd:gcc$secondaryArchSuffix 44 cmd:install 45 cmd:make 46 cmd:patch 47 cmd:zcat 48 " 49 50BUILD() 51{ 52 cd src 53 make CFLAGS="-DNOLFS -O2 -s" 54} 55 56INSTALL() 57{ 58 make -C src install prefix="$prefix" bindir="$commandBinDir" 59 install -d -m 755 $docDir $manDir/man1 60 install -t $docDir -c -m 444 uif2iso.txt README 61 zcat $sourceDir2/uif2iso_0.1.7a-1.diff.gz | patch -p1 62 install -t $manDir/man1 -c -m 444 debian/uif2iso.1 63} 64