Commit ecb8259a authored by Sören Tempel's avatar Sören Tempel

testing/iverilog: new aport

parent 305ecb51
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=iverilog
_pkgver=10_2
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"
depends=""
makedepends="automake autoconf gperf bison flex"
install=""
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
cd "$builddir"
aclocal && autoconf
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="a6d2d3123bbec093784ad14e91fd1d350b2092cf998348b6a9ce764bc739a14834adee5661bf3d21fef187d38fc03c37a079181ce65c3c64a92b1ce16df1aaca iverilog-10.2.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment