termux-packages/packages/libgmime/build.sh

23 lines
756 B
Bash
Raw Normal View History

2017-04-06 19:03:40 +02:00
TERMUX_PKG_HOMEPAGE=http://spruce.sourceforge.net/gmime/
TERMUX_PKG_DESCRIPTION="MIME message parser and creator"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2020-03-21 21:53:32 +01:00
TERMUX_PKG_VERSION=3.2.7
2021-08-01 13:36:51 +02:00
TERMUX_PKG_REVISION=3
2017-10-14 23:35:15 +02:00
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gmime/${TERMUX_PKG_VERSION:0:3}/gmime-${TERMUX_PKG_VERSION}.tar.xz
2020-03-21 21:53:32 +01:00
TERMUX_PKG_SHA256=2aea96647a468ba2160a64e17c6dc6afe674ed9ac86070624a3f584c10737d44
TERMUX_PKG_DEPENDS="glib, libffi, libiconv, libidn2, zlib"
TERMUX_PKG_BREAKS="libgmime-dev"
TERMUX_PKG_REPLACES="libgmime-dev"
2017-04-06 19:03:40 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_have_iconv_detect_h=yes
--with-libiconv=gnu
2017-04-06 19:03:40 +02:00
--disable-glibtest
--disable-crypto
2017-04-06 19:03:40 +02:00
"
2020-03-21 22:33:14 +01:00
termux_step_pre_configure() {
cp "$TERMUX_PKG_BUILDER_DIR"/iconv-detect.h ./
}