yosys: update to 0.47.
- Add 'update' file for faster future updates - Fix up post_patch sed modifications - Added new cxxopts LICENSE file
This commit is contained in:
parent
ab8aaca561
commit
f08f2d9a95
@ -1,8 +1,6 @@
|
||||
# Template file for 'yosys'
|
||||
pkgname=yosys
|
||||
# Remember to correct _gitrev on updating
|
||||
_gitrev=cc31c6e
|
||||
version=0.36
|
||||
version=0.47
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
@ -13,14 +11,13 @@ short_desc="Verilog RTL Synthesis Suite"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="ISC, MIT"
|
||||
homepage="https://yosyshq.net/yosys/"
|
||||
distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
|
||||
checksum=d69beedcb76db80681c2a0f445046311f3ba16716d5d0c3c5034dabcb6bd9b23
|
||||
distfiles="https://github.com/YosysHQ/yosys/releases/download/${version}/yosys.tar.gz"
|
||||
checksum=76038d3de2768567007e7c31995b17c888c16da1cf571d8a24b4c524d3eddfdf
|
||||
|
||||
post_patch() {
|
||||
vsed -i -e 's,-I[$](PREFIX)/include,,' \
|
||||
-e '/CXX = gcc/d' \
|
||||
-e '/LD = gcc/d' \
|
||||
-e "s/^GIT_REV :=.*/GIT_REV := $_gitrev/" \
|
||||
vsed -i \
|
||||
-e 's,-I[$](PREFIX)/include,,' \
|
||||
-e '/^CXX = g++/d' \
|
||||
Makefile
|
||||
}
|
||||
|
||||
@ -38,4 +35,5 @@ do_configure() {
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
vlicense libs/minisat/LICENSE
|
||||
vlicense libs/cxxopts/LICENSE
|
||||
}
|
||||
|
2
srcpkgs/yosys/update
Normal file
2
srcpkgs/yosys/update
Normal file
@ -0,0 +1,2 @@
|
||||
site="https://github.com/YosysHQ/yosys/releases"
|
||||
pattern='"/YosysHQ/yosys/tree/\K[\d.]+(?=")'
|
Loading…
x
Reference in New Issue
Block a user