void-packages/srcpkgs/sox/template
Leah Neukirchen 267cdb58b1 sox: cleanup.
2019-12-25 15:16:22 +01:00

30 lines
955 B
Bash

# Template file for 'sox'
pkgname=sox
version=14.4.2
revision=4
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 libpng-devel"
short_desc="Sound eXchange, the Swiss Army knife of audio manipulation"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
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
}
}