diff options
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/picasm/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/picasm/picasm-1.14.ebuild | 44 |
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-embedded/picasm/ChangeLog b/dev-embedded/picasm/ChangeLog index f9e687eb3ff9..b2497457365a 100644 --- a/dev-embedded/picasm/ChangeLog +++ b/dev-embedded/picasm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/picasm -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picasm/ChangeLog,v 1.7 2007/02/09 01:48:45 flameeyes Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picasm/ChangeLog,v 1.8 2011/05/07 10:07:50 radhermit Exp $ + +*picasm-1.14 (07 May 2011) + + 07 May 2011; Tim Harder <radhermit@gentoo.org> +picasm-1.14.ebuild: + Version bump. Update to EAPI 4, add ~amd64 keyword, and respect LDFLAGS (bug + #337518). 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/dev-embedded/picasm/picasm-1.14.ebuild b/dev-embedded/picasm/picasm-1.14.ebuild new file mode 100644 index 000000000000..ca72595c7ae7 --- /dev/null +++ b/dev-embedded/picasm/picasm-1.14.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/picasm/picasm-1.14.ebuild,v 1.1 2011/05/07 10:07:50 radhermit Exp $ + +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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e 's:$(CC):\0 $(LDFLAGS):' Makefile +} + +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 +} |