SUMMARY="A tool to unpack installers created by Inno Setup" DESCRIPTION="Inno Setup is a tool to create installers for Microsoft Windows \ applications. innoextract allows to extract such installers under non-Windows \ systems without running the actual installer using wine. innoextract currently\ supports installers created by Inno Setup 1.2.10 to 6.0.5. In addition to standard Inno Setup installers, innoextract also supports some \ modified Inno Setup variants including Martijn Laan's My Inno Setup Extensions\ 3.0.6.1 as well as GOG.com's Inno Setup-based game installers." HOMEPAGE="https://constexpr.org/innoextract/" COPYRIGHT="2011-2020 Daniel Scharrer" LICENSE="Zlib" REVISION="1" SOURCE_URI="http://constexpr.org/innoextract/files/innoextract-$portVersion.tar.gz" CHECKSUM_SHA256="6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aba6cf88126" ARCHITECTURES="all !x86_gcc2 ?x86" SECONDARY_ARCHITECTURES="x86" commandSuffix=$secondaryArchSuffix commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then commandSuffix= commandBinDir=$prefix/bin fi PROVIDES=" innoextract$secondaryArchSuffix = $portVersion cmd:innoextract$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libboost_filesystem$secondaryArchSuffix lib:libboost_iostreams$secondaryArchSuffix lib:libboost_program_options$secondaryArchSuffix lib:libiconv$secondaryArchSuffix lib:liblzma$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libboost_filesystem$secondaryArchSuffix >= 1.70.0 devel:libboost_iostreams$secondaryArchSuffix >= 1.70.0 devel:libboost_program_options$secondaryArchSuffix >= 1.70.0 devel:libiconv$secondaryArchSuffix devel:liblzma$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " BUILD() { export CXXFLAGS="-D_BSD_SOURCE" cmake -Bbuild -S. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_BINDIR=$commandBinDir \ -DBoost_NO_BOOST_CMAKE=ON make -C build $jobArgs } INSTALL() { make -C build install }