Files
haikuports/media-gfx/gifsicle/gifsicle-1.88.recipe
fbrosson db2e7a64e0 gifsicle: fix TEST by adding cmd:perl to BUILD_PREREQUIRES.
Also patch test/testie to replace "/usr/bin/perl" by "/bin/perl".
2016-12-01 14:47:31 +00:00

56 lines
1.1 KiB
Bash

SUMMARY="A GIF image manipulator"
DESCRIPTION="Gifsicle manipulates GIF image files. Depending on command line \
options, it can merge several GIFs into a GIF animation; explode an animation \
into its component frames; change individual frames in an animation; turn \
interlacing on and off; add transparency; add delays, disposals, and looping \
to animations; add and remove comments; flip and rotate; optimize animations \
for space; change images' colormaps; and other things."
HOMEPAGE="http://www.lcdf.org/gifsicle/"
COPYRIGHT="1997-2014 Eddie Kohler"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.lcdf.org/gifsicle/gifsicle-$portVersion.tar.gz"
CHECKSUM_SHA256="4585d2e683d7f68eb8fcb15504732d71d7ede48ab5963e61915201f9e68305be"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gifsicle = $portVersion
cmd:gifsicle = $portVersion
cmd:gifdiff = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
cmd:perl
"
PATCH()
{
sed -i -e '1 s|/usr\(/bin/perl\)|\1|' test/testie
}
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}
TEST()
{
make check
}