termux-packages/packages/mp3splt/build.sh

14 lines
582 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=http://mp3splt.sourceforge.net
TERMUX_PKG_DESCRIPTION="Mp3Splt-project is a utility to split mp3, ogg vorbis and native FLAC files selecting a begin and an end time position, without decoding"
TERMUX_PKG_VERSION=2.6.2
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://prdownloads.sourceforge.net/mp3splt/mp3splt-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libmp3splt"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man"
termux_step_post_configure() {
cd $TERMUX_PKG_SRCDIR/src
sed -i -e 's/BEOS/ANDROID/g' freedb.c
touch langinfo.h
}