Files
haikuports/media-libs/devil/devil-1.7.8.recipe
2014-04-21 19:31:51 +02:00

65 lines
1.6 KiB
Plaintext

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"
CHECKSUM_SHA256="682ffa3fc894686156337b8ce473c954bf3f4fb0f3ecac159c73db632d28a8fd"
REVISION="1"
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()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
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.
"