mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
gif2apng: create recipe. (GCI 2016) (#894)
Use x86 secondary arch because zopfli does not work with gcc2.
This commit is contained in:
43
media-gfx/gif2apng/gif2apng-1.9.recipe
Normal file
43
media-gfx/gif2apng/gif2apng-1.9.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user