Added SDL_ttf-2.0.9 build template.

--HG--
extra : convert_revision : 878a4bc945911880209ce52bacb4f90e109f8ccf
This commit is contained in:
Juan RP 2009-12-24 03:51:45 +01:00
parent 8bde4a55b5
commit 900bbd81f6
4 changed files with 44 additions and 0 deletions

1
srcpkgs/SDL_ttf-devel Symbolic link
View file

@ -0,0 +1 @@
SDL_ttf

View file

@ -0,0 +1,18 @@
# Template file for 'SDL_ttf-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run freetype-devel
Add_dependency run SDL-devel
Add_dependency run SDL_ttf
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}

2
srcpkgs/SDL_ttf/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=2.0.9"
api_depends="${abi_depends}"

23
srcpkgs/SDL_ttf/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'SDL_ttf'
pkgname=SDL_ttf
version=2.0.9
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Use TrueType fonts in your SDL applications"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b4248876798b43d0fae1931cf8ae249f4f67a87736f97183f035f34aab554653
long_desc="
SDL_ttf is a TrueType font rendering library that is used with the SDL
library, and almost as portable. It depends on freetype2 to handle the
TrueType font data. It allows a programmer to use multiple TrueType fonts
without having to code a font rendering routine themselves. With the power
of outline fonts and antialiasing, high quality text output can be obtained
without much effort."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run freetype
Add_dependency run SDL
Add_dependency build pkg-config
Add_dependency build freetype-devel
Add_dependency build SDL-devel