Files
haikuports/media-libs/sdl-image/sdl-image-1.2.10.bep
Scott McCreary 93cf331846 Updated .bep for sdl-image to specify correct dependency on tiff, not
libtiff.  Patch from GCI student mbaluta.
2011-01-12 17:42:27 +00:00

36 lines
1.1 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.10.tar.gz"
CHECKSUM_MD5="6c06584b31559e2b59f2b982d0d1f628"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="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"
BUILD {
cd SDL_image-1.2.10
cp /boot/common/share/aclocal/libtool.m4 acinclude
cp /boot/common/share/aclocal/ltoptions.m4 acinclude
cp /boot/common/share/aclocal/ltversion.m4 acinclude
cp /boot/common/share/aclocal/ltsugar.m4 acinclude
cp /boot/common/share/aclocal/lt~obsolete.m4 acinclude
libtoolize --force --copy --install
aclocal -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.10
make install
}