# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=iverilog _pkgver=12_0 pkgver=${_pkgver%%_*}.${_pkgver##*_} pkgrel=1 pkgdesc="Icarus Verilog compiler and simulation tool" url="http://iverilog.icarus.com" arch="all" license="GPL-2.0-or-later" makedepends="automake autoconf gperf bison flex" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/steveicarus/iverilog/archive/refs/tags/v$_pkgver.tar.gz format-security.patch " builddir="$srcdir/$pkgname-$_pkgver" prepare() { default_prepare update_config_guess update_config_sub aclocal && autoconf } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" a8e112f760903335ef2fbf00529e5fe282b83c1f583c4316373b9410d7fad2a53d5c4adb82dd62491c14a620cb5b1fab117cb0cde638c86b65fe5b7b0dd07152 iverilog-12.0.tar.gz 47bc4f6f63b7b50924a55f25e9c30a8e0f82ca9e98c766f0f43b8d86a57a19c65045f3172e41f2d20e1b7a05eb50daa7da286ecacff6b00c4001234137dad4cf format-security.patch "