Skip to content

Commit

Permalink
Created apng2gif recipe
Browse files Browse the repository at this point in the history
updated link
  • Loading branch information
R167 committed Dec 5, 2016
1 parent 574f1f5 commit 8288372
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions media-gfx/apng2gif/apng2gif-1.7.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
SUMMARY="Converts APNG animations into GIF format"
DESCRIPTION="This program converts APNG animations into animated GIF format. \
It performs the reverse of gif2apng."
HOMEPAGE="http://apng2gif.sourceforge.net/"
COPYRIGHT="2009-2015 Max Stepin"
LICENSE="Zlib"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/apng2gif/apng2gif-$portVersion-src.zip"
CHECKSUM_SHA256="6c7b2cce851378f2fc8f6b490ce098e9cf0038aa05da7099771c8be94620e6ca"
SOURCE_DIR=""

ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
apng2gif$secondaryArchSuffix = $portVersion
cmd:apng2gif = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libz$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ld$secondaryArchSuffix
"

BUILD()
{
make
}

INSTALL()
{
mkdir -p $prefix/bin
cp apng2gif $prefix/bin
}

0 comments on commit 8288372

Please sign in to comment.