mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
76 lines
2.2 KiB
Bash
76 lines
2.2 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="1"
|
|
SOURCE_URI="https://downloads.sourceforge.net/project/giflib/giflib-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
giflib$secondaryArchSuffix = $portVersion
|
|
cmd:gif2rgb$secondaryArchSuffix
|
|
cmd:gifbuild$secondaryArchSuffix
|
|
cmd:gifclrmp$secondaryArchSuffix
|
|
cmd:giffix$secondaryArchSuffix
|
|
cmd:giftext$secondaryArchSuffix
|
|
cmd:giftool$secondaryArchSuffix
|
|
lib:libgif$secondaryArchSuffix = 7.2.0 compat >= 7
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
giflib${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
|
devel:libgif$secondaryArchSuffix = 7.2.0 compat >= 7
|
|
"
|
|
REQUIRES_devel="
|
|
giflib$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install PREFIX=$prefix BINDIR=$binDir MANDIR=$manDir \
|
|
INCDIR=$includeDir LIBDIR=$libDir
|
|
|
|
rm $libDir/libgif.a
|
|
|
|
prepareInstalledDevelLibs libgif
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|