dev-embedded/cc65: add snapshot build with readded sim65 build

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1687 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-20 13:18:01 +00:00
parent 995b93f2af
commit 347f4ca131
3 changed files with 73 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
20 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+cc65-2.13.9.20091220.ebuild:
add snapshot build with readded sim65 build
20 Dec 2009; Mario Fetka <mario.fetka@gmail.com> cc65-2.13.0.ebuild: 20 Dec 2009; Mario Fetka <mario.fetka@gmail.com> cc65-2.13.0.ebuild:
disable the sim65 hack and rename make.info to cc65make.info conflict disable the sim65 hack and rename make.info to cc65make.info conflict

View File

@ -7,6 +7,7 @@ DIST cc65-snapshot-sources-2.11.9.20070704.tar.bz2 1045275 RMD160 d23c31f4453198
DIST cc65-snapshot-sources-2.11.9.20070903.tar.bz2 1048993 RMD160 fce9950ed13c98e5f1f6a0fd4861a1dee3d60801 SHA1 ff29a74f21d3c3e3b989827121670daf9ee9ad65 SHA256 da3bb7c7bf2da5dcb4a1c33c9e19a80d88fc404e28e4c4d61da50aa53d49f3ec DIST cc65-snapshot-sources-2.11.9.20070903.tar.bz2 1048993 RMD160 fce9950ed13c98e5f1f6a0fd4861a1dee3d60801 SHA1 ff29a74f21d3c3e3b989827121670daf9ee9ad65 SHA256 da3bb7c7bf2da5dcb4a1c33c9e19a80d88fc404e28e4c4d61da50aa53d49f3ec
DIST cc65-snapshot-sources-2.11.9.20071213.tar.bz2 1048211 RMD160 6d6481750fba6e4dbe44e425cd5f0abba3d4aa6a SHA1 409fa8d7f04e9c1c220742b4bef247382828d5d9 SHA256 e39174f898e8e10e8a560e652884eeecdbd820d93f06ef629c0f4cfd16c2a34e DIST cc65-snapshot-sources-2.11.9.20071213.tar.bz2 1048211 RMD160 6d6481750fba6e4dbe44e425cd5f0abba3d4aa6a SHA1 409fa8d7f04e9c1c220742b4bef247382828d5d9 SHA256 e39174f898e8e10e8a560e652884eeecdbd820d93f06ef629c0f4cfd16c2a34e
DIST cc65-snapshot-sources-2.11.9.20080228.tar.bz2 1049273 RMD160 443cdf888e2b44421fe13514e6fab0d46746b628 SHA1 9ff95828a8a1d67a6c22832f9e8a4f6c4923778a SHA256 e26e9a19b397ea4b9b1cfc0f718dcc51fadf33dcb083ae14468c170a2c01f0a2 DIST cc65-snapshot-sources-2.11.9.20080228.tar.bz2 1049273 RMD160 443cdf888e2b44421fe13514e6fab0d46746b628 SHA1 9ff95828a8a1d67a6c22832f9e8a4f6c4923778a SHA256 e26e9a19b397ea4b9b1cfc0f718dcc51fadf33dcb083ae14468c170a2c01f0a2
DIST cc65-snapshot-sources-2.13.9.20091220.tar.bz2 1123794 RMD160 92e2548c512ab583d00e53f9a8c2e5f630751b5a SHA1 e5fa992ac4261d452f6c3bafd0768995d9deae54 SHA256 9b0d6fadc2e24337f8329ae80519c910b201023300b049fcba4d69310d6e7599
DIST cc65-sources-2.12.0.tar.bz2 1051755 RMD160 579e4877f5f129f8bdff8ce3ad4f15a44c57f25c SHA1 e009060fda9fbec9fcfa01761abdb1b5aaa01b34 SHA256 ea74a374ccc8a711667b207e4b1792ea738138aa1875feca23cf162a5b4e3965 DIST cc65-sources-2.12.0.tar.bz2 1051755 RMD160 579e4877f5f129f8bdff8ce3ad4f15a44c57f25c SHA1 e009060fda9fbec9fcfa01761abdb1b5aaa01b34 SHA256 ea74a374ccc8a711667b207e4b1792ea738138aa1875feca23cf162a5b4e3965
DIST cc65-sources-2.13.0.tar.bz2 1084580 RMD160 7cce192625d570f72c22a8d5f9b6e689875b50af SHA1 3631954e482dbf64840248729ceda6f9b6c6e9f5 SHA256 943f4ec28e883271843f1bce0da4b6a70c3b52a6ae3b35ddee110ae974382286 DIST cc65-sources-2.13.0.tar.bz2 1084580 RMD160 7cce192625d570f72c22a8d5f9b6e689875b50af SHA1 3631954e482dbf64840248729ceda6f9b6c6e9f5 SHA256 943f4ec28e883271843f1bce0da4b6a70c3b52a6ae3b35ddee110ae974382286
EBUILD cc65-2.11.9.20070329.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f EBUILD cc65-2.11.9.20070329.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
@ -16,5 +17,6 @@ EBUILD cc65-2.11.9.20071213.ebuild 1723 RMD160 ac96f87cfcbe8f3c3c27e46aebd6ecf25
EBUILD cc65-2.11.9.20080228.ebuild 1723 RMD160 0b2c75ebe779c226aa615ff894870b8969585a19 SHA1 d44d83598dce3d73d63c0f5f55d9c1d32bc6f385 SHA256 b3ca0cbcb1bbe257592bb9b9e498ec2f86838b66e82fec00fd609312e7a0a091 EBUILD cc65-2.11.9.20080228.ebuild 1723 RMD160 0b2c75ebe779c226aa615ff894870b8969585a19 SHA1 d44d83598dce3d73d63c0f5f55d9c1d32bc6f385 SHA256 b3ca0cbcb1bbe257592bb9b9e498ec2f86838b66e82fec00fd609312e7a0a091
EBUILD cc65-2.12.0.ebuild 2378 RMD160 e6e419c4b017c2afc6f0ddd60599575134214bf0 SHA1 a55877f38cc6af61c3135b341c4ff1b0a016489d SHA256 b22cca7fc663335eace72098adc24b8c8030b05ef931dabd17fb5f2c48771e7c EBUILD cc65-2.12.0.ebuild 2378 RMD160 e6e419c4b017c2afc6f0ddd60599575134214bf0 SHA1 a55877f38cc6af61c3135b341c4ff1b0a016489d SHA256 b22cca7fc663335eace72098adc24b8c8030b05ef931dabd17fb5f2c48771e7c
EBUILD cc65-2.13.0.ebuild 2471 RMD160 f77f03826fd7e8bdfcd7178952289fbb6c82cd61 SHA1 effa441676980d15fe271f39c0a56c96a66e03a7 SHA256 820b6955b752ee8bef80292abc09f4ad6f4ca28b5cb0b29e09a0b02d8abd825e EBUILD cc65-2.13.0.ebuild 2471 RMD160 f77f03826fd7e8bdfcd7178952289fbb6c82cd61 SHA1 effa441676980d15fe271f39c0a56c96a66e03a7 SHA256 820b6955b752ee8bef80292abc09f4ad6f4ca28b5cb0b29e09a0b02d8abd825e
MISC ChangeLog 1416 RMD160 466bd8bacb856e8c8957bbe13117c418716e8e5a SHA1 19fa7beb8c5f57b9dc4cefb0ef9ecf9616244069 SHA256 358d72eccbdfef0f2bf45f1423536c470121d21fb62c764b2ac0859ff6366abb EBUILD cc65-2.13.9.20091220.ebuild 2469 RMD160 8c40cbef404c40fe4ad5258edbc0aec56a4f136c SHA1 897d0da60031524a94bd8f1cba9f527a3fc23ee6 SHA256 c18416a989d2ea1db17e955dab489c45d307485583208e924657e9479f8a6abe
MISC ChangeLog 1546 RMD160 63b4f7c7a615e9b4312fc102830809005f6f7b46 SHA1 5a8b283a340bc8728a0c7f182efe032d73ebe4a8 SHA256 98154b4a98f2d79e66a89191b0585257087d8019effd72083371a1575da690a3
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,66 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="It's a complete cross development package for 65(C)02 systems."
HOMEPAGE="http://www.cc65.org"
SRC_URI="ftp://ftp.musoftware.de/pub/uz/cc65/snapshot/cc65-snapshot-sources-${PV}.tar.bz2"
#SRC_URI="ftp://ftp.musoftware.de/pub/uz/${PN}/${PN}-sources-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"
DEPEND="dev-libs/boehm-gc
app-text/linuxdoc-tools"
S=${WORKDIR}/${PN}-snapshot-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s:od65:od65 sim65:g" src/make/gcc.mak
sed -i -e "s:)/lib:)/$(get_libdir):g" make/gcc.mak
sed -i -e "s:/lib/cc65/inc:/$(get_libdir)/cc65/inc:g" src/cc65/make/gcc.mak
sed -i -e "s:/lib/cc65/lib:/$(get_libdir)/cc65/lib:g" src/ld65/make/gcc.mak
sed -i -e "s:/lib/cc65/lib:/$(get_libdir)/cc65/lib:g" doc/ld65.sgml
sed -i -e "s:make.sgml:cc65make.sgml:g" doc/Makefile
mv doc/make.sgml doc/cc65make.sgml
# epatch "${FILESDIR}"/cc65-2.12.0-asneeded-1.patch
# epatch "${FILESDIR}"/cc65-2.12.0-cbm_dir-1.patch
}
src_compile() {
emake -j1 -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)" || die "src build fail"
emake -j1 -C libsrc || die "libsrc build fail"
emake -j1 -C doc || die "doc build fail"
}
src_install() {
dobin src/*65/*65 src/ca65html/ca65html src/grc/grc || die "dobin fail"
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd || die "install memory map fail"
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy || die "install joystick driver fail"
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou || die "install mouse driver fail"
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser || die "install UART driver fail"
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi || die "install graphic driver fail"
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc || die "install asm include fail"
insinto /usr/$(get_libdir)/cc65/include
doins -r include/* || die "install include fail"
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib || die "install lib definations fail"
doins libsrc/*.o || die "install lib fail"
use doc && dohtml doc/*.htm*
doman packages/debian/*.1 || die "man install fail"
doinfo doc/*.info || die "info install fail"
dodoc src/ld65/cfg/*.cfg || die "cfg install fail"
dodoc src/ca65/macpack/*.mac || die "macro install fail"
}