termux-packages/disabled-packages/iverilog/build.sh
Henrik Grimler 425135d923
iverilog: disable package
It doesn't build, fails with:

    parse.cc:299:10: fatal error: 'parse.hh' file not found
    #include "parse.hh"
             ^~~~~~~~~~
    1 warning and 1 error generated.
    make[1]: *** [Makefile:108: parse.o] Error 1
2022-02-08 08:41:48 +01:00

21 lines
696 B
Bash

TERMUX_PKG_HOMEPAGE=http://iverilog.icarus.com/
TERMUX_PKG_DESCRIPTION="Icarus Verilog compiler and simulation tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=10.3
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/steveicarus/iverilog/archive/v${TERMUX_PKG_VERSION/./_}.tar.gz
TERMUX_PKG_SHA256=4b884261645a73b37467242d6ae69264fdde2e7c4c15b245d902531efaaeb234
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="\d+.\d+"
TERMUX_PKG_DEPENDS="libbz2, libc++, readline, zlib"
TERMUX_PKG_BREAKS="iverilog-dev"
TERMUX_PKG_REPLACES="iverilog-dev"
termux_step_pre_configure() {
LDFLAGS+=" -lm"
aclocal
autoconf
export CFLAGS+=" -fcommon"
}