mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/iverilog: new aport
This commit is contained in:
parent
305ecb518c
commit
ecb8259a30
46
testing/iverilog/APKBUILD
Normal file
46
testing/iverilog/APKBUILD
Normal file
@ -0,0 +1,46 @@
|
||||
# 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"
|
Loading…
Reference in New Issue
Block a user