termux-packages/packages/mtools/build.sh
2021-05-04 19:16:56 +00:00

18 lines
562 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/mtools/
TERMUX_PKG_DESCRIPTION="Tool for manipulating FAT images."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.0.27
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/mtools/mtools-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=9c88c8d9244e54768e40b92c005e61ec4e084ea7c070df9184caf1a6408838b3
TERMUX_PKG_DEPENDS="libandroid-support, libiconv"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-floppyd
ac_cv_lib_bsd_main=no
"
termux_step_pre_configure() {
export LIBS="-liconv"
}