SDL: remove static libs; set -devel noarch.

This commit is contained in:
Juan RP 2012-12-09 10:32:45 +01:00
parent 21f5bfbf69
commit 5d112ced1b
2 changed files with 10 additions and 6 deletions

View file

@ -1,6 +1,7 @@
# Template file for 'SDL-devel'. # Template file for 'SDL-devel'.
# #
depends="libX11-devel libXext-devel libXrender-devel libXi-devel alsa-lib-devel SDL>=$version" noarch=yes
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} (development files)"
long_desc="${long_desc} long_desc="${long_desc}
@ -10,6 +11,5 @@ do_install() {
vmove usr/bin usr vmove usr/bin usr
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
vmove usr/share usr vmove usr/share usr
} }

View file

@ -1,16 +1,16 @@
# Template file for 'SDL' # Template file for 'SDL'
pkgname=SDL pkgname=SDL
version=1.2.15 version=1.2.15
revision=2 revision=3
patch_args="-Np1" patch_args="-Np1"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath configure_args="--enable-alsa --disable-esd --disable-rpath
--enable-clock_gettime --disable-nas --disable-arts" --enable-clock_gettime --disable-nas --disable-arts --disable-static"
subpackages="SDL-devel"
# The following run-time dependencies are dlopen(3)ed. # The following run-time dependencies are dlopen(3)ed.
subpackages="$pkgname-devel"
depends="libX11 libXext libXrender libXi alsa-lib libpulseaudio" depends="libX11 libXext libXrender libXi alsa-lib libpulseaudio"
makedepends="pkg-config nasm libXext-devel libXrender-devel libX11-devel makedepends="pkg-config nasm libXext-devel libXrender-devel libX11-devel
MesaLib-devel alsa-lib-devel pulseaudio-devel" MesaLib-devel alsa-lib-devel pulseaudio-devel"
short_desc="Simple Directmedia Layer" short_desc="Simple Directmedia Layer"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libsdl.org/" homepage="http://www.libsdl.org/"
@ -23,3 +23,7 @@ long_desc="
via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, via OpenGL, and 2D video framebuffer. It is used by MPEG playback software,
emulators, and many popular games, including the award winning Linux port emulators, and many popular games, including the award winning Linux port
of Civilization: Call To Power." of Civilization: Call To Power."
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}