Commit | Line | Data |
---|---|---|
948212ba DM |
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 | |
af4dc416 | 4 | TERMUX_PKG_REVISION=1 |
948212ba DM |
5 | TERMUX_PKG_SRCURL=ftp://ftp.mars.org/pub/mpeg/libmad-${TERMUX_PKG_VERSION}.tar.gz |
6 | ||
a282b3d3 FF |
7 | termux_step_pre_configure() { |
8 | if [ $TERMUX_ARCH = arm ]; then | |
9 | # See https://www.mars.org/pipermail/mad-dev/2013-July/001433.html | |
10 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-fpm=default" | |
11 | fi | |
12 | } | |
13 | ||
948212ba DM |
14 | termux_post_configure() { |
15 | cd $TERMUX_PKG_SRCDIR | |
16 | sed -i -e 's/-force-mem//g' Makefile | |
17 | } |