mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
60 lines
1.0 KiB
Plaintext
60 lines
1.0 KiB
Plaintext
SUMMARY="Simple Direct Media Layer Image Library"
|
|
DESCRIPTION="Simple Direct Media Layer Image Library"
|
|
HOMEPAGE="http://www.libsdl.org/projects/SDL_image"
|
|
SRC_URI="http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz"
|
|
CHECKSUM_MD5="a0f9098ebe5400f0bdc9b62e60797ecb"
|
|
REVISION="2"
|
|
LICENSE="Zlib"
|
|
COPYRIGHT="1997-2012 Sam Lantinga"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
PROVIDES="
|
|
lib:sdl_image = $portVersion compat >= 1.2
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
libsdl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libsdl
|
|
lib:libjpeg
|
|
lib:libpng
|
|
lib:libtiff
|
|
# lib:giflib
|
|
# lib:libwebp
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config
|
|
cmd:sdl_config
|
|
"
|
|
|
|
SOURCE_DIR="SDL_image-1.2.12"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal --install -I acinclude
|
|
./autogen.sh
|
|
runConfigure ./configure \
|
|
--enable-bmp --enable-lbm --enable-pcx \
|
|
--enable-pnm --enable-tga --enable-xcf --enable-xpm --enable-xv \
|
|
--enable-gif --enable-jpg --disable-jpg-shared
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|