void-packages/srcpkgs/sox/template
Christian Neukirchen fb6038cf7b sox: fix for musl.
2015-05-20 20:20:30 +02:00

29 lines
935 B
Bash

# Template file for 'sox'
pkgname=sox
version=14.4.2
revision=2
build_style=gnu-configure
configure_args="--with-distro=Void"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel lame-devel libao-devel libmad-devel
libid3tag-devel wavpack-devel opusfile-devel pulseaudio-devel libgomp-devel"
short_desc="Sound eXchange, the Swiss Army knife of audio manipulation"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://sox.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
post_extract() {
sed -i '/error FIX NEEDED HERE/d' src/formats.c
}
sox-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}