void-packages/srcpkgs/SDL_mixer/template

38 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'SDL_mixer'
pkgname=SDL_mixer
2012-01-16 14:26:00 +00:00
version=1.2.12
2015-08-26 21:26:28 +00:00
revision=12
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="SDL-devel libvorbis-devel libmikmod-devel libflac-devel smpeg-devel fluidsynth-devel"
# The following deps are dlopen(3)ed at runtime.
depends="libvorbis libmikmod smpeg libflac"
short_desc="Multi-channel audio mixer library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-01-16 14:26:00 +00:00
license="BSD"
homepage="http://www.libsdl.org/projects/SDL_mixer/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
2012-01-16 14:26:00 +00:00
checksum=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a
2012-01-16 14:26:00 +00:00
pre_configure() {
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
-i timidity/config.h
}
2012-01-16 14:26:00 +00:00
post_install() {
2015-08-26 21:26:28 +00:00
vlicense COPYING
}
SDL_mixer-devel_package() {
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}