[arch-commits] Commit in yosys/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Oct 10 23:28:00 UTC 2021
Date: Sunday, October 10, 2021 @ 23:28:00
Author: felixonmars
Revision: 1029356
archrelease: copy trunk to community-staging-x86_64
Added:
yosys/repos/community-staging-x86_64/
yosys/repos/community-staging-x86_64/PKGBUILD
(from rev 1029354, yosys/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: yosys/repos/community-staging-x86_64/PKGBUILD (from rev 1029354, yosys/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-10-10 23:28:00 UTC (rev 1029356)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benoît Allard <benoit dot allard at gmx dot de>
+# Contributor: killruana <killruana at gmail.com>
+
+pkgname=yosys
+pkgver=0.10
+pkgrel=2
+pkgdesc='A framework for RTL synthesis'
+arch=('x86_64')
+url='http://www.clifford.at/yosys/'
+license=('custom:ISC')
+depends=('abc' 'bash' 'boost-libs' 'tcl' 'libffi' 'python' 'protobuf')
+makedepends=('boost')
+checkdepends=('iverilog')
+optdepends=('graphviz: Schematics display support'
+ 'xdot: Display netlists')
+source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz")
+sha512sums=('2168a206d4395fd83649a04ddfa717ddc4509b171da859979f4ba3eb61a350d4f5110439503651dfe24cc6860935a77c465000b047bd806a73a6657da331b52a')
+
+_make() {
+ make \
+ PREFIX="/usr" \
+ CONFIG=gcc \
+ ENABLE_TCL=1 \
+ ENABLE_ABC=1 \
+ ENABLE_GLOB=1 \
+ ENABLE_PLUGINS=1 \
+ ENABLE_LIBYOSYS=1 \
+ ENABLE_PROTOBUF=1 \
+ ENABLE_ZLIB=1 \
+ ENABLE_PYOSYS=1 \
+ ABCEXTERNAL=abc \
+ BOOST_PYTHON_LIB="-lpython3.9 -lboost_python39" $@
+}
+
+build() {
+ cd $pkgname-$pkgname-$pkgver
+ _make
+}
+
+check() {
+ cd $pkgname-$pkgname-$pkgver
+ _make test
+}
+
+package() {
+ cd $pkgname-$pkgname-$pkgver
+ _make DESTDIR="$pkgdir" PYTHON_PREFIX="$pkgdir/usr" install
+
+ install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list