void-packages/srcpkgs/SDL/SDL-devel.template
Juan RP 373ffc4e05 SDL: explicitly link to required libs rather than dlopen; use options.
The following options are supported now:

	x11 - to support X11 video output (enabled on x86)
	opengl - to support OpenGL (enabled on x86)
	pulseaudio - to support pulseaudio audio output (enabled on x86).
	aalib - to support aalib video output (disabled)
2013-03-24 11:20:04 +01:00

25 lines
498 B
Text

# Template file for 'SDL-devel'.
#
depends="alsa-lib-devel SDL>=${version}"
if [ "$build_option_x11" ]; then
depends="${depends} libXrandr-devel"
fi
if [ "$build_option_opengl" ]; then
depends="${depends} glu-devel"
fi
if [ "$build_option_pulseaudio" ]; then
depends="${depends} pulseaudio-devel"
fi
short_desc="${short_desc} -- development files"
do_install() {
vmove usr/bin usr
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
vmove usr/share usr
}