mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Rename giflib 5.0.5 to giflib6
* Needed by some packages
This commit is contained in:
87
media-libs/giflib/giflib6-5.0.5.recipe
Normal file
87
media-libs/giflib/giflib6-5.0.5.recipe
Normal file
@@ -0,0 +1,87 @@
|
||||
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. :-)
|
||||
"
|
||||
SUMMARY="giflib - A library for processing GIFs"
|
||||
HOMEPAGE="http://sourceforge.net/projects/giflib/"
|
||||
SRC_URI="http://sourceforge.net/projects/giflib/files/giflib-5.x/giflib-5.0.5.tar.bz2/download"
|
||||
SOURCE_DIR="giflib-$portVersion"
|
||||
CHECKSUM_SHA256="606d8a366b1c625ab60d62faeca807a799a2b9e88cbdf2a02bfcdf4429bf8609"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1997-2007 Eric S. Raymond and Toshio Kuratomi"
|
||||
REVISION="2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
giflib6$secondaryArchSuffix = $portVersion
|
||||
lib:libgif$secondaryArchSuffix = 6.0.1 compat >= 6
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:grep
|
||||
"
|
||||
|
||||
PATCHES="giflib-5.0.5.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# We do not want the binaries so that this doesn't conflict
|
||||
# with the 'giflib' package
|
||||
rm -rf $binDir
|
||||
|
||||
prepareInstalledDevelLibs libgif
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
giflib6${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libgif$secondaryArchSuffix = 6.0.1 compat >= 6
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
giflib6$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
CONFLICTS_devel="
|
||||
giflib${secondaryArchSuffix}_devel
|
||||
"
|
||||
Reference in New Issue
Block a user