Files
haikuports/media-libs/sdl_image/sdl_image-1.2.12.recipe
Oliver Tappe aec3652b01 Cleanup: fix names of recipe and patch files.
* this fixes the wrong recipe names introduced by myself in #d525fee
* adjust patch names to match corresponding recipes
* additionally: create 'additional-files' folders as hint to some
  ports that do not have a proper recipe yet
2013-08-25 23:51:08 +02:00

38 lines
1.0 KiB
Plaintext

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="1"
STATUS_HAIKU="stable"
DEPEND="media-libs/libsdl >= 1.2.14
media-libs/jpeg >= 8b
media-libs/libpng >= 1.2.46
media-libs/tiff >= 3.8.2
media-libs/giflib >= 4.1.6
media-libs/libwebp >= 0.1.3"
BUILD()
{
cd SDL_image-1.2.12
libtoolize --force --copy --install
aclocal --install -I acinclude
./autogen.sh
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--enable-bmp --enable-lbm --enable-pcx \
--enable-pnm --enable-tga --enable-xcf --enable-xpm --enable-xv \
--enable-gif --enable-jpg --disable-jpg-shared \
--libdir=$LIBDIR \
--mandir=$MANDIR
make
}
INSTALL()
{
cd SDL_image-1.2.12
make install
}
LICENSE="Zlib"
COPYRIGHT="1997-2012 Sam Lantinga"