# FIXME: extresso and genresscript won't work because of missing libwww-perl # and that won't compile because reasons SUMMARY="Tools for extracting and converting Windows icon and cursor files" DESCRIPTION="A set of command-line programs for extracting and converting \ images in Microsoft Windows icon and cursor files (usually with the extension \ .ico or .cur, but they can also be embedded in executables and DLL libraries." HOMEPAGE="https://nongnu.org/icoutils/" COPYRIGHT="1998-2018 Frank Richter" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="http://savannah.nongnu.org/download/icoutils/icoutils-$portVersion.tar.bz2" CHECKSUM_SHA256="17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0" ARCHITECTURES="all" PROVIDES=" icoutils = $portVersion cmd:extresso = $portVersion cmd:genresscript = $portVersion cmd:icotool = $portVersion cmd:wrestool = $portVersion " REQUIRES=" haiku cmd:perl lib:libpng16 lib:libz " BUILD_REQUIRES=" haiku_devel devel:libpng16 devel:libz " BUILD_PREREQUIRES=" cmd:awk cmd:gcc cmd:ld cmd:make cmd:sed " defineDebugInfoPackage icoutils \ "$binDir"/icotool \ "$binDir"/wrestool PATCH() { sed -i -e "1 s|/usr/bin/perl|/bin/env perl|" \ extresso/extresso.in \ extresso/genresscript.in } BUILD() { runConfigure ./configure make $jobArgs } INSTALL() { make install } TEST() { make check }