summaryrefslogtreecommitdiff
path: root/community/iverilog/PKGBUILD
blob: a2dd806f62cc91f6fab114c7b8175da8eebba34f (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
# $Id: PKGBUILD 73557 2012-07-09 19:15:21Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Contributor: Paulo Matias <matias archlinux-br org>

pkgname=iverilog
pkgver=0.9.7
pkgrel=1
pkgdesc='Icarus Verilog compiler and simulation tool'
arch=('x86_64' 'i686')
url='http://iverilog.icarus.com/'
# http://iverilog.wikia.com/wiki/Release_Notes_Icarus_Verilog_0_9
license=('GPL')
makedepends=('readline' 'gperf')
depends=('bzip2' 'sh' 'gcc-libs' 'zlib')
source=("ftp://ftp.icarus.com/pub/eda/verilog/v0.9/verilog-$pkgver.tar.gz")
sha256sums=('7a5e72e17bfb4c3a59264d8f3cc4e70a7c49c1307173348fdd44e079388e7454')

build() {
  cd "$srcdir/${pkgname/i}-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/${pkgname/i}-$pkgver"

  make -j1 prefix="$pkgdir/usr" install
}

# vim:set ts=2 sw=2 et: