# Description: Sound eXchange, the Swiss Army knife of audio manipulation
# URL:         http://sox.sourceforge.net/
# Maintainer:  Steffen Nurpmeso, steffen at sdaoden dot eu

name=sox
version=20211029
release=1
xtarget=sox-code-42b3557e13e0fe01a83465b672d89faddbe65f49
source=(https://sourceforge.net/code-snapshots/git/s/so/${name}/code.git/\
${xtarget}.zip)

build() {
   cd "${xtarget}"

   sed -i'' -e /^AX_APPEND/d configure.ac
   autoreconf -vis

   ./configure --prefix=/usr --disable-openmp

   make
   make DESTDIR="${PKG}" install
}

# s-sh-mode