perl: Update from 5.26.1 to 5.26.2
[termux-packages] / packages / libmad / build.sh
1 TERMUX_PKG_HOMEPAGE=http://www.underbit.com/products/mad/
2 TERMUX_PKG_DESCRIPTION="MAD is a high-quality MPEG audio decoder"
3 TERMUX_PKG_VERSION=0.15.1b
4 TERMUX_PKG_REVISION=1
5 TERMUX_PKG_SRCURL=ftp://ftp.mars.org/pub/mpeg/libmad-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_SHA256=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
7
8 termux_step_pre_configure() {
9 if [ $TERMUX_ARCH = arm ]; then
10 # See https://www.mars.org/pipermail/mad-dev/2013-July/001433.html
11 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-fpm=default"
12 fi
13 }
14
15 termux_post_configure() {
16 cd $TERMUX_PKG_SRCDIR
17 sed -i -e 's/-force-mem//g' Makefile
18 }