void-packages/srcpkgs/SDL_sound/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

24 lines
796 B
Bash

# Template file for 'SDL_sound'
pkgname=SDL_sound
version=1.0.3
revision=5
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="SDL-devel libmikmod-devel libvorbis-devel
libflac-devel speex-devel smpeg-devel"
short_desc="A library to decode several popular sound file formats, such as .WAV and .MP3"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://icculus.org/SDL_sound/"
license="LGPL-2.1"
distfiles="http://icculus.org/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum="3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
SDL_sound-devel_package() {
depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}