mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
84 lines
2.3 KiB
Bash
84 lines
2.3 KiB
Bash
SUMMARY="A library for processing GIFs"
|
|
DESCRIPTION="The GIFLIB project maintains the giflib service library, which \
|
|
has been pulling images out of GIFs since 1989. It is deployed everywhere you \
|
|
can think of and some places you probably can't - graphics applications and \
|
|
web browsers on multiple operating systems, game consoles, smartphones, and \
|
|
likely your ATM too.
|
|
|
|
This is very mature, stable, small-footprint code with minimal dependencies \
|
|
(suitable for use in embedded deployments) that needs only occasional very \
|
|
minor bugfixes. Test reports from odd platforms and better regression tests \
|
|
are particularly welcome. Don't try to redesign it, applications beyond \
|
|
counting would break if you did.
|
|
|
|
It's \"GIFLIB\" in caps as a nod to the code's origins in the dark and \
|
|
backward abysm of MS-DOS, but Unix hackers are encouraged to spell it \
|
|
\"giflib\" in deference to local conventions. :-)"
|
|
HOMEPAGE="https://sourceforge.net/projects/giflib/"
|
|
COPYRIGHT="1997-2007 Eric S. Raymond and Toshio Kuratomi"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="https://sourceforge.net/projects/giflib/files/giflib-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
giflib$secondaryArchSuffix = $portVersion
|
|
lib:libgif$secondaryArchSuffix = 7.0.0 compat >= 7
|
|
cmd:gif2raw$secondaryArchSuffix
|
|
cmd:gif2rgb$secondaryArchSuffix
|
|
cmd:gifbuild$secondaryArchSuffix
|
|
cmd:gifclrmp$secondaryArchSuffix
|
|
cmd:gifecho$secondaryArchSuffix
|
|
cmd:giffix$secondaryArchSuffix
|
|
cmd:gifinto$secondaryArchSuffix
|
|
cmd:giftext$secondaryArchSuffix
|
|
cmd:giftool$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
giflib${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
|
devel:libgif$secondaryArchSuffix = 7.0.0 compat >= 7
|
|
"
|
|
REQUIRES_devel="
|
|
giflib$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:grep
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libgif.la
|
|
|
|
prepareInstalledDevelLibs libgif
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|