devIL: update from bep.

This commit is contained in:
Adrien Destugues
2014-01-27 21:49:26 +01:00
parent 519e173d49
commit d265db06bd

View File

@@ -1,28 +1,64 @@
DESCRIPTION="DevIL image library"
SUMMARY="A full-featured cross-platform image library"
HOMEPAGE="http://openil.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/openil/files/DevIL/1.7.8/DevIL-1.7.8.tar.gz/download"
REVISION="1"
CHECKSUM_MD5="7918f215524589435e5ec2e8736d5e1d"
STATUS_HAIKU="stable"
DEPEND="media-libs/jasper >= 1.900.1
media-libs/lcms >= 1.18a
media-libs/libmng >= 1.0.10
openexr >= 1.5.0
dev-util/pkg-config >= 0.23
media-libs/tiff >= 3.8.2"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
devil$secondaryArchSuffix = $portVersion
lib:libIL$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
#DEPEND="media-libs/jasper >= 1.900.1
# media-libs/lcms >= 1.18a
# media-libs/libmng >= 1.0.10
# openexr >= 1.5.0
# dev-util/pkg-config >= 0.23
# media-libs/tiff >= 3.8.2"
BUILD()
{
cd devil-1.7.8
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd devil-1.7.8
make install
prepareInstalledDevelLib libIL
fixPkgconfig
packageEntries devel $developDir
}
PROVIDES_devel="
devil${secondaryArchSuffix}_devel = $portVersion
devel:libIL$secondaryArchSuffix
"
REQUIRES_devel="
haiku$secondaryArchSuffix >= $haikuVersion
devil$secondaryArchSuffix == $portVersion base
"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2009 Denton Woods"
DESCRIPTION="
Developer's Image Library (DevIL) is a programmer's library to develop
applications with very powerful image loading capabilities, yet is easy for a
developer to learn and use. Ultimate control of images is left to the
developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a
simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter
and display a wide variety of image formats.
"