termux-packages/packages/mathomatic/build.sh

15 lines
565 B
Bash
Raw Normal View History

2015-12-09 02:08:19 +01:00
TERMUX_PKG_VERSION=16.0.5
TERMUX_PKG_BUILD_REVISION=2
2015-12-09 02:08:19 +01:00
TERMUX_PKG_HOMEPAGE=http://www.mathomatic.org/
TERMUX_PKG_DESCRIPTION="Simple CAS and symbolic calculator"
TERMUX_PKG_SRCURL="http://fossies.org/linux/misc/mathomatic-${TERMUX_PKG_VERSION}.tar.gz"
2015-12-09 02:08:19 +01:00
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"
2015-12-09 02:08:19 +01:00
TERMUX_PKG_MAINTAINER="Jonathan Badger <jhbadger@gmail.com>"
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
CPPFLAGS+=" -DUSE_TGAMMA -DBOLD_COLOR"
}