From: Fredrik Fornwall Date: Wed, 9 Dec 2015 06:19:35 +0000 (+0100) Subject: mathomatic: Minor changes X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/4a9025e535c7231aa1e670f2f084b734f788dc21?ds=sidebyside;hp=--cc mathomatic: Minor changes - Enable readline. - Remove .desktop files and icon not used in Termux. - Compile with -DUSE_TGAMMA to remove warning and improve speed. - Compile with -DBOLD_COLOR to improve color visibility. --- 4a9025e535c7231aa1e670f2f084b734f788dc21 diff --git a/packages/mathomatic/build.sh b/packages/mathomatic/build.sh index 72440f55..dfccf80c 100644 --- a/packages/mathomatic/build.sh +++ b/packages/mathomatic/build.sh @@ -1,9 +1,14 @@ TERMUX_PKG_VERSION=16.0.5 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_HOMEPAGE=http://www.mathomatic.org/ TERMUX_PKG_DESCRIPTION="Simple CAS and symbolic calculator" TERMUX_PKG_SRCURL="http://mathomatic.orgserve.de/mathomatic-$TERMUX_PKG_VERSION.tar.bz2" TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_EXTRA_MAKE_ARGS="READLINE=1" +TERMUX_PKG_DEPENDS="readline" +TERMUX_PKG_RM_AFTER_INSTALL="share/applications/mathomatic.desktop share/pixmaps" TERMUX_PKG_MAINTAINER="Jonathan Badger " export PREFIX=$TERMUX_PREFIX +CPPFLAGS+=" -DUSE_TGAMMA -DBOLD_COLOR"