45 lines
1023 B
Bash
45 lines
1023 B
Bash
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="3"
|
|
SOURCE_URI="https://downloads.sourceforge.net/gif2apng/gif2apng-$portVersion-src.zip"
|
|
CHECKSUM_SHA256="3b21308e935d799b3ffb4a86c6e00ffa4cb9b3f72f52d58d51c66eb0574ae7d2"
|
|
SOURCE_DIR=""
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 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:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -d -m 755 $prefix/bin $docDir
|
|
install -t $prefix/bin -c -m 555 -s gif2apng
|
|
install -t $docDir -c -m 444 readme.txt
|
|
}
|