aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Olagbaiye <bqv@fron.io>2022-12-09 22:12:34 +0000
committerTony Olagbaiye <bqv@fron.io>2022-12-09 22:12:34 +0000
commitef36db1fab19b6d16361670ebd243baf935af5c5 (patch)
treefc5c039afe498d1c9dcb8c3f27080dedc130fd50 /dev-embedded
parentdev-embedded/icestorm: new package, add 0_p20210309, 9999 (diff)
downloadguru-ef36db1fab19b6d16361670ebd243baf935af5c5.tar.gz
guru-ef36db1fab19b6d16361670ebd243baf935af5c5.tar.bz2
guru-ef36db1fab19b6d16361670ebd243baf935af5c5.zip
dev-embedded/arachne-pnr: new package, add 0_p20180827, 9999
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/arachne-pnr/Manifest1
-rw-r--r--dev-embedded/arachne-pnr/arachne-pnr-0_p20180827.ebuild33
-rw-r--r--dev-embedded/arachne-pnr/arachne-pnr-9999.ebuild33
-rw-r--r--dev-embedded/arachne-pnr/metadata.xml9
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-embedded/arachne-pnr/Manifest b/dev-embedded/arachne-pnr/Manifest
new file mode 100644
index 000000000..e9aa1b72a
--- /dev/null
+++ b/dev-embedded/arachne-pnr/Manifest
@@ -0,0 +1 @@
+DIST arachne-pnr-0_p20180827.tar.gz 94349 BLAKE2B 5f8b9be9ca91d538374dc8e202dad211a1e975a7650b29b334f0bece5015e87ed6cbb49ffb5f41fa4f4bf18aabd035eedcc45efb6ca212c81d7c8017e1632dd2 SHA512 81877893e6f898edc54292fd29d4444a03d3e1a25592fcd3c5be58324936ad05a508e88487d1bc37e9c22860a2ec58995e1ecc25ddd07fcd243dd7b4dc4a4ff3
diff --git a/dev-embedded/arachne-pnr/arachne-pnr-0_p20180827.ebuild b/dev-embedded/arachne-pnr/arachne-pnr-0_p20180827.ebuild
new file mode 100644
index 000000000..31980bc8e
--- /dev/null
+++ b/dev-embedded/arachne-pnr/arachne-pnr-0_p20180827.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils
+
+DESCRIPTION="Arachne PNR - free and open-source place and route tool for FPGAs"
+HOMEPAGE="https://github.com/cseed/arachne-pnr"
+LICENSE="ISC"
+if [ ${PV} == "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/cseed/arachne-pnr.git"
+else
+ EGIT_COMMIT="c00a14176e589f5ec4cb3914acc6683c608ac401"
+ SRC_URI="https://github.com/cseed/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+fi
+
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-embedded/icestorm"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake PREFIX=/usr
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/dev-embedded/arachne-pnr/arachne-pnr-9999.ebuild b/dev-embedded/arachne-pnr/arachne-pnr-9999.ebuild
new file mode 100644
index 000000000..f4e7d7040
--- /dev/null
+++ b/dev-embedded/arachne-pnr/arachne-pnr-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils
+
+DESCRIPTION="Arachne PNR - free and open-source place and route tool for FPGAs"
+HOMEPAGE="https://github.com/cseed/arachne-pnr"
+LICENSE="ISC"
+if [ ${PV} == "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/cseed/arachne-pnr.git"
+else
+ EGIT_COMMIT=""
+ SRC_URI="https://github.com/cseed/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+fi
+
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-embedded/icestorm"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake PREFIX=/usr
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/dev-embedded/arachne-pnr/metadata.xml b/dev-embedded/arachne-pnr/metadata.xml
new file mode 100644
index 000000000..773666f39
--- /dev/null
+++ b/dev-embedded/arachne-pnr/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ </longdescription>
+ <upstream>
+ <remote-id type="github">cseed/arachne-pnr</remote-id>
+ </upstream>
+</pkgmetadata>