SDL_ttf: disable static libs; set -devel noarch.

This commit is contained in:
Juan RP 2012-12-09 11:02:43 +01:00
parent 3e08b20b61
commit 5789f3784c
2 changed files with 8 additions and 11 deletions

View file

@ -1,15 +1,13 @@
# Template file for 'SDL_ttf-devel'. # Template file for 'SDL_ttf-devel'.
# #
depends="freetype-devel SDL-devel SDL_ttf" noarch=yes
depends="freetype-devel SDL-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} (development files)"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
do_install() {
do_install()
{
vmove usr/include usr vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
} }

View file

@ -1,14 +1,16 @@
# Template file for 'SDL_ttf' # Template file for 'SDL_ttf'
pkgname=SDL_ttf pkgname=SDL_ttf
version=2.0.11 version=2.0.11
homepage="http://www.libsdl.org/projects/$pkgname" revision=2
distfiles="${homepage}/release/$pkgname-$version.tar.gz" subpackages="${pkgname}-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config freetype-devel SDL-devel MesaLib-devel" makedepends="pkg-config freetype-devel SDL-devel MesaLib-devel"
revision=1
short_desc="Use TrueType fonts in your SDL applications" short_desc="Use TrueType fonts in your SDL applications"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://www.libsdl.org/projects/${pkgname}"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
long_desc=" long_desc="
SDL_ttf is a TrueType font rendering library that is used with the SDL SDL_ttf is a TrueType font rendering library that is used with the SDL
@ -17,6 +19,3 @@ long_desc="
without having to code a font rendering routine themselves. With the power without having to code a font rendering routine themselves. With the power
of outline fonts and antialiasing, high quality text output can be obtained of outline fonts and antialiasing, high quality text output can be obtained
without much effort." without much effort."
subpackages="$pkgname-devel"