sox: avoid silly work for play and rec

This commit is contained in:
Tom Yan 2018-02-02 17:35:10 +08:00 committed by Fredrik Fornwall
parent e87d81b81d
commit 805d524b80
1 changed files with 0 additions and 8 deletions

View File

@ -10,7 +10,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-pulseaudio=dyn
--without-sndfile
"
TERMUX_PKG_RM_AFTER_INSTALL="bin/play bin/rec share/man/man1/play.1 share/man/man1/rec.1"
# Depend on file for libmagic.so linking:
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad, pulseaudio"
@ -18,10 +17,3 @@ termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
CPPFLAGS+=" -D_FSTDIO"
}
termux_step_post_massage() {
cd "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/bin"
ln -sf sox play
ln -sf sox rec
}