SDL_image: remove static libs; set -devel noarch.

This commit is contained in:
Juan RP 2012-12-09 10:38:24 +01:00
parent 5d112ced1b
commit 6a423e819f
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# Template file for 'SDL_image-devel'. # Template file for 'SDL_image-devel'.
# #
depends="libpng-devel tiff-devel jpeg-devel SDL-devel SDL_image>=$version" noarch=yes
depends="SDL-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} - development files" short_desc="${short_desc} - development files"
long_desc="${long_desc} long_desc="${long_desc}
@ -8,6 +9,5 @@ long_desc="${long_desc}
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib vmove usr/lib/pkgconfig usr/lib
} }

View File

@ -1,12 +1,13 @@
# Template file for 'SDL_image' # Template file for 'SDL_image'
pkgname=SDL_image pkgname=SDL_image
version=1.2.12 version=1.2.12
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static"
# The following are dlopen(3)ed at runtime. # The following are dlopen(3)ed at runtime.
depends="libpng>=1.5.10 tiff jpeg libwebp>=0.2.0" depends="libpng>=1.5.10 tiff jpeg libwebp>=0.2.0"
makedepends="libpng-devel>=1.5.10 tiff-devel jpeg-devel SDL-devel libwebp-devel>=0.2.0" makedepends="libpng-devel>=1.5.10 tiff-devel jpeg-devel SDL-devel libwebp-devel>=0.2.0"
subpackages="$pkgname-devel" subpackages="${pkgname}-devel"
short_desc="Load images as SDL surfaces" short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD" license="BSD"