dev-embedded/cc65: cleanup tree and work in suggestions by groepaz@gmx.net also update to eapi2

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1808 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-01-06 18:04:20 +00:00
parent 0a1dd09a5a
commit a353e720f1
12 changed files with 45 additions and 556 deletions

View File

@ -2,6 +2,14 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
06 Jan 2010; Mario Fetka <mario.fetka@gmail.com>
-cc65-2.11.9.20070329.ebuild, -cc65-2.11.9.20070704.ebuild,
-cc65-2.11.9.20070903.ebuild, -cc65-2.11.9.20071213.ebuild,
-cc65-2.11.9.20080228.ebuild, -cc65-2.12.0.ebuild, -cc65-2.13.0.ebuild,
cc65-2.13.1.ebuild, -cc65-2.13.9.20091220.ebuild,
cc65-2.13.9.20100106.ebuild:
cleanup tree and work in suggestions by groepaz@gmx.net also update to eapi2
06 Jan 2010; Mario Fetka <mario.fetka@gmail.com> +cc65-2.13.1.ebuild,
+cc65-2.13.9.20100106.ebuild:
Bump

View File

@ -2,25 +2,9 @@ AUX cc65-2.12.0-asneeded-1.patch 1556 RMD160 3d0d4d86f4b8f577bc547449ab3204a8cba
AUX cc65-2.12.0-cbm_dir-1.patch 654 RMD160 16b11bdc5f6612ccb045b9528e035fafc6086410 SHA1 663982a870d8f107f9c1b707b45b8d6aa519e39b SHA256 00faf9ed1cd75bcef43458e54697a7800ae4f382d48d275e016470975b9b2d75
AUX patch-2.12.0-01.patch 1356 RMD160 f198df987660ab49dacc00d9dd11fb63438e9235 SHA1 6898b0a870f72db1bca87915dda428b9ef26c1b7 SHA256 b20379f5ca6ec4799090bc37c5ad4e4b2cb3ef7bb9e17c4f3a36adc65d5f6ef3
AUX patch-2.12.0-02.patch 919 RMD160 f750c63aa82328131f3b4c5443dad7161716e2bf SHA1 7e21671a749840a0bfe19e3ffa80936372dcc92d SHA256 670d0ba6c9a92f87df4af704d989ec8a2b46ec60a5c60e9f8fa7550edcbc0ff0
DIST cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942 RMD160 ccbf10ad16dd5951ddea9caa0fd7762f7f4fabfd SHA1 a80b2b6d941487373270470f3adec855699cb10d SHA256 71ebec814b7866f0746bdc8c3c2a7ab1b3ce4d7ebc21888deb004f225b2bbe81
DIST cc65-snapshot-sources-2.11.9.20070704.tar.bz2 1045275 RMD160 d23c31f44531981ecfc4a18af9c9b380f668367d SHA1 7b1aa7cc0478c63b66ecc34ce88cb08b4aaecc81 SHA256 4eab7cdc9c2573912a5a1ebae5364b83f592d974adda074c85d92fa75141c492
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.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-snapshot-sources-2.13.9.20100106.tar.bz2 1124312 RMD160 b263822a1f1d9fac2c456457e0d0f9bf89d7863e SHA1 c2b21726db0b3370bd58606a03903ca89c0485ab SHA256 4e05e23d97c2393e23fe90e665657de1933b9c3d03a18805aceeb9b7c2cd63f7
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.1.tar.bz2 1091286 RMD160 71708240b54592e89f23d527878f3d9a69af35ec SHA1 1ea24662d92362b20cb67cb4dccc4d7dab3e906e SHA256 d874e654975ddf0b87690d00e00abb72a780f51253ff0e6c3a017c287cffd338
EBUILD cc65-2.11.9.20070329.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
EBUILD cc65-2.11.9.20070704.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
EBUILD cc65-2.11.9.20070903.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
EBUILD cc65-2.11.9.20071213.ebuild 1723 RMD160 ac96f87cfcbe8f3c3c27e46aebd6ecf2589a750e SHA1 cf8f6f91edfe70b0fa7c559d4133e3a18378e737 SHA256 a5f7817b37dd394053cf03e015a7dcde41ac68d51b66560e9a77353b16ad9ea5
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.13.0.ebuild 2471 RMD160 f77f03826fd7e8bdfcd7178952289fbb6c82cd61 SHA1 effa441676980d15fe271f39c0a56c96a66e03a7 SHA256 820b6955b752ee8bef80292abc09f4ad6f4ca28b5cb0b29e09a0b02d8abd825e
EBUILD cc65-2.13.1.ebuild 2471 RMD160 82df67121937e7ecb7b61a4702121fd69f6be493 SHA1 5460fd2312bdbb912752b65b6e2d7572c8b5e4ac SHA256 598121472931cc2d2a33ecc3f5fe9ffbe4620e66e48326d94aac6d3b69d3b33d
EBUILD cc65-2.13.9.20091220.ebuild 2469 RMD160 8c40cbef404c40fe4ad5258edbc0aec56a4f136c SHA1 897d0da60031524a94bd8f1cba9f527a3fc23ee6 SHA256 c18416a989d2ea1db17e955dab489c45d307485583208e924657e9479f8a6abe
EBUILD cc65-2.13.9.20100106.ebuild 2469 RMD160 287394d4b12d1920c320bd58632b4af574eb348e SHA1 9099bb1427b93409ecd31202142b3b18c550cf06 SHA256 60cdeaa9a1fa2ddfd1b494d7ed78db5676f6b0cbb33cde276165c7425e590275
MISC ChangeLog 1658 RMD160 09a87f90971eb9f7348bdce58da034d91255d271 SHA1 1a5cecde6f62a5a388350d0bcd9216c2a2610864 SHA256 6b6098c5d28ab1a7edf5bb6923c94cfc3b06fd6a598400b7b80d59b935a53696
EBUILD cc65-2.13.1.ebuild 2757 RMD160 b818141f3688a5a365d4cc072097fdad33e42231 SHA1 e7a6f34285666861c97e08ff73e644ab767db66a SHA256 f3fd61a943b4e1cac2b3a120cb691e1c5c038e77d8c9ac6c344e0094b2e15abc
EBUILD cc65-2.13.9.20100106.ebuild 2755 RMD160 7affc5b1867f4b71793f9d770a1370487d8b87dc SHA1 1077dc14be42608b52eea2bc52c00fcad5bc6a00 SHA256 e2c5d0c98aad5063126c1cc1be730f8218719de2b96e90252095ea1454f83151
MISC ChangeLog 2070 RMD160 c2910b6fce273f7dbd98d7cb5ea8e13358d1321b SHA1 e0ee6b820bfc78ee0208a56c2decb728981c064d SHA256 7123b419fbff971ce4721d0dbb4e29c161b40519fa0d2042adb35d9993bc342c
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,65 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="cc65 is 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"
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}
MAKEOPTS="${MAKEOPTS} -j1"
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
}
src_compile() {
emake -C src -f make/gcc.mak
emake -C libsrc
emake -C doc
}
src_install() {
dobin src/*65/*65
dobin src/ca65html/ca65html
dobin src/grc/grc
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc
insinto /usr/$(get_libdir)/cc65/include
doins -r include/*
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib
doins libsrc/*.o
use doc && dohtml doc/*.htm*
doman packages/debian/*.1
doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg
dodoc src/ca65/macpack/*.mac
}

View File

@ -1,65 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="cc65 is 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"
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}
MAKEOPTS="${MAKEOPTS} -j1"
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
}
src_compile() {
emake -C src -f make/gcc.mak
emake -C libsrc
emake -C doc
}
src_install() {
dobin src/*65/*65
dobin src/ca65html/ca65html
dobin src/grc/grc
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc
insinto /usr/$(get_libdir)/cc65/include
doins -r include/*
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib
doins libsrc/*.o
use doc && dohtml doc/*.htm*
doman packages/debian/*.1
doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg
dodoc src/ca65/macpack/*.mac
}

View File

@ -1,65 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="cc65 is 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"
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}
MAKEOPTS="${MAKEOPTS} -j1"
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
}
src_compile() {
emake -C src -f make/gcc.mak
emake -C libsrc
emake -C doc
}
src_install() {
dobin src/*65/*65
dobin src/ca65html/ca65html
dobin src/grc/grc
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc
insinto /usr/$(get_libdir)/cc65/include
doins -r include/*
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib
doins libsrc/*.o
use doc && dohtml doc/*.htm*
doman packages/debian/*.1
doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg
dodoc src/ca65/macpack/*.mac
}

View File

@ -1,65 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="cc65 is 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"
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}
MAKEOPTS="${MAKEOPTS} -j1"
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
}
src_compile() {
emake -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)"
emake -C libsrc
emake -C doc
}
src_install() {
dobin src/*65/*65
dobin src/ca65html/ca65html
dobin src/grc/grc
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc
insinto /usr/$(get_libdir)/cc65/include
doins -r include/*
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib
doins libsrc/*.o
use doc && dohtml doc/*.htm*
doman packages/debian/*.1
doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg
dodoc src/ca65/macpack/*.mac
}

View File

@ -1,65 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs multilib
DESCRIPTION="cc65 is 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"
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}
MAKEOPTS="${MAKEOPTS} -j1"
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
}
src_compile() {
emake -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)"
emake -C libsrc
emake -C doc
}
src_install() {
dobin src/*65/*65
dobin src/ca65html/ca65html
dobin src/grc/grc
insinto /usr/$(get_libdir)/cc65/emd
doins libsrc/*.emd
insinto /usr/$(get_libdir)/cc65/joy
doins libsrc/*.joy
insinto /usr/$(get_libdir)/cc65/mou
doins libsrc/*.mou
insinto /usr/$(get_libdir)/cc65/ser
doins libsrc/*.ser
insinto /usr/$(get_libdir)/cc65/tgi
doins libsrc/*.tgi
insinto /usr/$(get_libdir)/cc65/asminc
doins asminc/*.inc
insinto /usr/$(get_libdir)/cc65/include
doins -r include/*
insinto /usr/$(get_libdir)/cc65/lib
doins libsrc/*.lib
doins libsrc/*.o
use doc && dohtml doc/*.htm*
doman packages/debian/*.1
doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg
dodoc src/ca65/macpack/*.mac
}

View File

@ -1,64 +0,0 @@
# 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
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"
}

View File

@ -1,66 +0,0 @@
# 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"
}

View File

@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils toolchain-funcs multilib
DESCRIPTION="It's a complete cross development package for 65(C)02 systems."
@ -11,35 +13,42 @@ SRC_URI="ftp://ftp.musoftware.de/pub/uz/${PN}/${PN}-sources-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~ppc ~x86 ~arm"
IUSE="doc"
DEPEND="dev-libs/boehm-gc
app-text/linuxdoc-tools"
DEPEND="doc? ( app-text/linuxdoc-tools )"
RDEPEND=""
#S=${WORKDIR}/${PN}-snapshot-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
src_prepare() {
# add sim65 sometimes useful
# sed -i -e "s:od65:od65 sim65:g" src/make/gcc.mak
# correct paths for install (also in documentation)
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
#solve conflict by renameing make.info to cc65make.info
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() {
# the build needs to be split atherwise we can't specify CC
# these makefiles are not parallel build aware
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"
use doc && emake -j1 -C doc
}
src_install() {
# cant trust the install target (sandbox violation) so do it by hand
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"
@ -60,7 +69,7 @@ src_install() {
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"
use doc && doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg || die "cfg install fail"
dodoc src/ca65/macpack/*.mac || die "macro install fail"
}

View File

@ -1,66 +0,0 @@
# 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"
}

View File

@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils toolchain-funcs multilib
DESCRIPTION="It's a complete cross development package for 65(C)02 systems."
@ -11,35 +13,42 @@ SRC_URI="ftp://ftp.musoftware.de/pub/uz/cc65/snapshot/cc65-snapshot-sources-${PV
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~ppc ~x86 ~arm"
IUSE="doc"
DEPEND="dev-libs/boehm-gc
app-text/linuxdoc-tools"
DEPEND="doc? ( app-text/linuxdoc-tools )"
RDEPEND=""
S=${WORKDIR}/${PN}-snapshot-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
src_prepare() {
# add sim65 sometimes useful
sed -i -e "s:od65:od65 sim65:g" src/make/gcc.mak
# correct paths for install (also in documentation)
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
#solve conflict by renameing make.info to cc65make.info
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() {
# the build needs to be split atherwise we can't specify CC
# these makefiles are not parallel build aware
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"
use doc && emake -j1 -C doc
}
src_install() {
# cant trust the install target (sandbox violation) so do it by hand
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"
@ -60,7 +69,7 @@ src_install() {
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"
use doc && doinfo doc/*.info
dodoc src/ld65/cfg/*.cfg || die "cfg install fail"
dodoc src/ca65/macpack/*.mac || die "macro install fail"
}