mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* 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
38 lines
998 B
Plaintext
38 lines
998 B
Plaintext
DESCRIPTION="Simple Direct Media Layer Image Library"
|
|
HOMEPAGE="http://www.libsdl.org/projects/SDL_image"
|
|
SRC_URI="hg+http://hg.libsdl.org/SDL_image#SDL-1.2"
|
|
#CHECKSUM_MD5="6c06584b31559e2b59f2b982d0d1f628"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND="media-libs/libsdl >= 1.2.14
|
|
media-libs/jpeg >= 8b
|
|
media-libs/libpng >= 1.2.44 < 1.4.0
|
|
media-libs/tiff >= 3.8.2
|
|
media-libs/giflib >= 4.1.6
|
|
media-libs/libwebp >= 0.1.3"
|
|
BUILD()
|
|
{
|
|
cd sdl-image-1.2-hg
|
|
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-hg
|
|
make install
|
|
}
|
|
|
|
LICENSE="Zlib"
|
|
COPYRIGHT="1997-2012 Sam Lantinga"
|