void-packages/srcpkgs/yosys/template

22 lines
722 B
Bash
Raw Normal View History

2019-02-17 03:09:22 +01:00
# Template file for 'yosys'
pkgname=yosys
version=0.8
revision=1
wrksrc=${pkgname}-${pkgname}-${version}
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="python3 bison flex pkg-config clang git tcl"
makedepends="tcl-devel readline-devel libffi-devel"
depends="graphviz xdot"
short_desc="Verilog RTL Synthesis Suite"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://www.clifford.at/yosys/about.html"
distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
checksum=07760fe732003585b26d97f9e02bcddf242ff7fc33dbd415446ac7c70e85c66f
pre_build() {
2019-02-20 13:48:07 +01:00
vsed -e "s,CXX = gcc,CXX = ${CC}," -e "s,LD = gcc, LD = ${CC}," -i Makefile
2019-02-17 03:09:22 +01:00
make config-gcc
}