summaryrefslogtreecommitdiff
path: root/dev-embedded/picasm
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/picasm')
-rw-r--r--dev-embedded/picasm/Manifest5
-rw-r--r--dev-embedded/picasm/metadata.xml8
-rw-r--r--dev-embedded/picasm/picasm-1.14.ebuild41
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-embedded/picasm/Manifest b/dev-embedded/picasm/Manifest
new file mode 100644
index 000000000000..2dd89819a3c1
--- /dev/null
+++ b/dev-embedded/picasm/Manifest
@@ -0,0 +1,5 @@
+DIST picasm114.tar.bz2 35429 SHA256 6ff69880256953f4c55aa29e48714e81ebd9fd6ce1e81090fae1fb929902dfb8 SHA512 a6a8490156afe8af1fc85700890570c745c076396890491f4efe004d7dd701a324f9c7e764fcc710c8954c761f3abb4ed8e97c72ce098100192ead334b335fb7 WHIRLPOOL 587461e5670fad49a1be9f464079cc32466e28b44b108b58445d24bfd3adc981d6aba37d6167f4279d8c70831c5d8a836dd8f4969c3b28a588206560bda5d21f
+EBUILD picasm-1.14.ebuild 871 SHA256 35f9deb12cc5f6ba79e327faacbce9fd7ae00dd91cf1437a3517d77cc3c6dc19 SHA512 c6fc4f2fbce3ed02ff81cc6fe088fc4e43078cc7d19927cb8ee5492a54601ee17e35179f6644761da604ce34dd213d647b03e09be2f43bacf4591f7aea1b6fa0 WHIRLPOOL ccbf685b6d25c98454a9eeee155df04b6516c55ace38ea079e970f67a6f3fab0e5858b5bd3c56bb4b164b9a9261b89b7960dba5376ccba903d6f01cecc364e6b
+MISC ChangeLog 2426 SHA256 d2ecc946bef963d9bb079e680e554e716fdb00d1c3dd7695b99bc6417a9b57fd SHA512 5e951907ac06c60d895ab28b1d5d032315bbcad99a180ee75f04916f18dc2b01111e80d2c7406acf18349ef00ca06a82df54bbe70529ee29fcb9cd3008338ed0 WHIRLPOOL 5ddf22c6fd98d95068dddfe396d6fc4b4fe5ceac5f45efb82476c532021fd2b8a3518ce70e370eda0c1d0e3be21434dcaf8803a676da5c9b7fcbaaf87c01a843
+MISC ChangeLog-2015 1609 SHA256 b289fe36955739a75615572c1dc4ca9951a41d328ec88235f82c7c58a88aa427 SHA512 fbc9404400dd5ee8d3fbb28a1182137bdbcdd8ee19e09821a5dc0c2b137faf5e84a8778f0fdce996a693928859937fc9a82f778abebf85beb3d657a126a39bf1 WHIRLPOOL 181dce970ee5909f7b7461b9094c1471b01892e6dea276f4c264b674b337c89c9f8510328d7fa672879b1ef248403bea3c098badfea80bb032a26e1003b37ca1
+MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53
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
+}