summaryrefslogtreecommitdiff
path: root/dev-embedded/picasm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-embedded/picasm
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/picasm')
-rw-r--r--dev-embedded/picasm/Manifest3
-rw-r--r--dev-embedded/picasm/metadata.xml8
-rw-r--r--dev-embedded/picasm/picasm-1.14.ebuild41
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-embedded/picasm/Manifest b/dev-embedded/picasm/Manifest
new file mode 100644
index 000000000000..bd7bb6c1640c
--- /dev/null
+++ b/dev-embedded/picasm/Manifest
@@ -0,0 +1,3 @@
+DIST picasm114.tar.bz2 35429 BLAKE2B 6d6e1093904c3cbcaf6fd40c46890257e35e7b197bec92e3728f06595b98ad6be5e2b4c4b19fe67103b871ed9f8e002edd1fae6ab59a85480789bac5a661002a SHA512 a6a8490156afe8af1fc85700890570c745c076396890491f4efe004d7dd701a324f9c7e764fcc710c8954c761f3abb4ed8e97c72ce098100192ead334b335fb7
+EBUILD picasm-1.14.ebuild 871 BLAKE2B a94d983a4dca2e91db54b687b7511660c85ebc15f6e06a181ec3502d556651b1b697692df01e9e89c64dad1c736806f5b3737907928a472b3eada358d526bb78 SHA512 c6fc4f2fbce3ed02ff81cc6fe088fc4e43078cc7d19927cb8ee5492a54601ee17e35179f6644761da604ce34dd213d647b03e09be2f43bacf4591f7aea1b6fa0
+MISC metadata.xml 247 BLAKE2B e46b8f2d053251af5cb591bb2ee5e35089c4e8174ee2e7a3c504db23f844b65083d4a3e5198da3977ad3e98b67cab2e0de686a3c62009b487c1e64785a8ff65d SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e
diff --git a/dev-embedded/picasm/metadata.xml b/dev-embedded/picasm/metadata.xml
new file mode 100644
index 000000000000..71b1461e1146
--- /dev/null
+++ b/dev-embedded/picasm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/picasm/picasm-1.14.ebuild b/dev-embedded/picasm/picasm-1.14.ebuild
new file mode 100644
index 000000000000..c8fa9d90d9a6
--- /dev/null
+++ b/dev-embedded/picasm/picasm-1.14.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="${PV//.}"
+MY_P="${PN}${MY_PV}"
+DESCRIPTION="An assembler and disassembler for 12 and 14-bit PIC chips"
+HOMEPAGE="http://www.iki.fi/trossi/pic/"
+SRC_URI="http://www.iki.fi/trossi/pic/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i -e 's:$(CC):\0 $(LDFLAGS):' Makefile || die
+}
+
+src_compile() {
+ append-cflags -DBUILTIN_INCLUDE1=\\\"/usr/share/picasm/include\\\"
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin picasm
+ dodoc picasm.txt HISTORY TODO
+
+ insinto /usr/share/picasm/include
+ doins device_definitions/*.i
+
+ dohtml picasm.html
+ docinto examples
+ dodoc examples/*.*
+ docompress -x /usr/share/doc/${PF}/examples
+}