1 # Contributor: LUO, Jian <jian (dot) luo (dot) cn _(at)_ gmail (dot) com>
6 pkgdesc="a Python-Based Hardware Description Language (mercurial repo)"
8 url="http://www.myhdl.org"
9 _hgroot="http://hg.myhdl.org"
13 makedepends=('mercurial' 'iverilog')
14 optdepends=('iverilog: for Co-Simulation with Icarus Verilog')
21 cd $startdir/src/$_hgrepo
22 python setup.py install --prefix=/usr --root=$pkgdir
25 install -m 0644 -D ./LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
27 # Make cosimulation modules for Icarus Verilog
28 cd $startdir/src/$_hgrepo/cosimulation/icarus
30 install -m 0755 -D ./myhdl.vpi $pkgdir/usr/lib/ivl/myhdl.vpi
32 # vim: ts=2 sw=2 et ft=sh