aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iverilog/APKBUILD
blob: b13a0c0364cabc8b9466004566b3397eeaf4afa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=iverilog
_pkgver=10_3
pkgver=${_pkgver%%_*}.${_pkgver##*_}
pkgrel=0
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/v$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"

prepare() {
	default_prepare
	aclocal && autoconf
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="67076e19a208576c21a0462ff7d15d00a9d47740c47518a5523bd928b3118360d85eb84c317963717d15e5246ece3727259f6ff3baf59e195340530cc9086a1d  iverilog-10.3.tar.gz"