mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
devIL: fix dependencies
* Add depepndencies so images can actually be loaded * Add pkgconfig so libs are properly linked
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
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"
|
||||
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"
|
||||
CHECKSUM_SHA256="682ffa3fc894686156337b8ce473c954bf3f4fb0f3ecac159c73db632d28a8fd"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -14,25 +14,35 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libjasper$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libmng$secondaryArchSuffix
|
||||
devel:libIlmImf$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
#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
|
||||
@@ -42,6 +52,13 @@ INSTALL()
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
PROVIDES_devel="
|
||||
devil${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libIL$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user