diff --git a/srcpkgs/SDL_ttf-devel b/srcpkgs/SDL_ttf-devel new file mode 120000 index 0000000000..2e94bde292 --- /dev/null +++ b/srcpkgs/SDL_ttf-devel @@ -0,0 +1 @@ +SDL_ttf \ No newline at end of file diff --git a/srcpkgs/SDL_ttf/SDL_ttf-devel.template b/srcpkgs/SDL_ttf/SDL_ttf-devel.template new file mode 100644 index 0000000000..5e269e6ea2 --- /dev/null +++ b/srcpkgs/SDL_ttf/SDL_ttf-devel.template @@ -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 +} diff --git a/srcpkgs/SDL_ttf/depends b/srcpkgs/SDL_ttf/depends new file mode 100644 index 0000000000..d3b3c31d05 --- /dev/null +++ b/srcpkgs/SDL_ttf/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.0.9" +api_depends="${abi_depends}" diff --git a/srcpkgs/SDL_ttf/template b/srcpkgs/SDL_ttf/template new file mode 100644 index 0000000000..7d4596ea4a --- /dev/null +++ b/srcpkgs/SDL_ttf/template @@ -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 " +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