mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
giflib: add recipe for version 5.2.1.
This commit is contained in:
75
media-libs/giflib/giflib-5.2.1.recipe
Normal file
75
media-libs/giflib/giflib-5.2.1.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
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="!x86_gcc2 x86 x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user