Files
haikuports/media-libs/sdl_ttf/sdl_ttf-2.0.10.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

33 lines
825 B
Plaintext

DESCRIPTION="Simple Direct Media Layer Image Library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf"
SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.10.tar.gz"
CHECKSUM_MD5="814e6e17e8879254208d23b3b7e0354b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="media-libs/libsdl >= 1.2.12
dev-util/pkgconfig >= 0.9"
BUILD()
{
cd SDL_ttf-2.0.10
rm -f acinclude.m4
libtoolize --copy --force --install
aclocal --install -I acinclude
echo "AC_CONFIG_MACRO_DIR([acinclude]) > configure.in"
./autogen.sh
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--libdir=$LIBDIR \
--mandir=$MANDIR
make
}
INSTALL()
{
cd SDL_ttf-2.0.10
make install
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1997-2010 Sam Lantinga"