mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
# 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"
|