gif2apng: create recipe. (GCI 2016) (#894)

Use x86 secondary arch because zopfli does not work with gcc2.
This commit is contained in:
Winston Durand
2016-11-30 23:34:20 -08:00
committed by fbrosson
parent f17ee12206
commit 6d279fa2bc

View File

@@ -0,0 +1,43 @@
SUMMARY="Converts GIF animations into APNG format"
DESCRIPTION="This program converts GIF animations into animated PNG format. \
Usually it makes the files smaller."
HOMEPAGE="http://gif2apng.sourceforge.net/"
COPYRIGHT="2009-2013 Max Stepin"
LICENSE="Zlib"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/gif2apng/gif2apng-$portVersion-src.zip"
CHECKSUM_SHA256="3b21308e935d799b3ffb4a86c6e00ffa4cb9b3f72f52d58d51c66eb0574ae7d2"
SOURCE_DIR=""
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gif2apng$secondaryArchSuffix = $portVersion
cmd:gif2apng = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ld$secondaryArchSuffix
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $prefix/bin
cp gif2apng $prefix/bin
}