From 0a092a0ca3c5255ef5188a7fd5dfcb99fd2d94c0 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 28 Oct 2019 19:31:03 +0100 Subject: [PATCH] giflib: add recipe for version 5.2.1. --- media-libs/giflib/giflib-5.2.1.recipe | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 media-libs/giflib/giflib-5.2.1.recipe diff --git a/media-libs/giflib/giflib-5.2.1.recipe b/media-libs/giflib/giflib-5.2.1.recipe new file mode 100644 index 000000000..77b3ff77b --- /dev/null +++ b/media-libs/giflib/giflib-5.2.1.recipe @@ -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 +}