mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
icoutils: added recipe (#1020)
Added recipe for icoutils icon and cursor file convertor.
This commit is contained in:
committed by
Jérôme Duval
parent
801fbb8a42
commit
5ef60692c2
63
media-gfx/icoutils/icoutils-0.31.1.recipe
Normal file
63
media-gfx/icoutils/icoutils-0.31.1.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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="http://nongnu.org/icoutils/"
|
||||
COPYRIGHT="1998-2017 Frank Richter"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://savannah.nongnu.org/download/icoutils/icoutils-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="26e29d3c78f25d4cdf402501ac0414c51a9a092daebf6c9dee3b837dee693093"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
icoutils = $portVersion
|
||||
cmd:extresso = $portVersion
|
||||
cmd:genresscript = $portVersion
|
||||
cmd:icotool = $portVersion
|
||||
cmd:wrestool = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libpng16
|
||||
lib:libz
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libpng16
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user