diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/picasm/picasm-1.14.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/picasm/picasm-1.14.ebuild')
-rw-r--r-- | dev-embedded/picasm/picasm-1.14.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 +} |