Initial Checkin cc65
This commit is contained in:
parent
4ead5a6571
commit
467fc6ee9b
8
trunk/linamh/dev-embedded/cc65/Manifest
Normal file
8
trunk/linamh/dev-embedded/cc65/Manifest
Normal file
@ -0,0 +1,8 @@
|
||||
DIST cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942 RMD160 ccbf10ad16dd5951ddea9caa0fd7762f7f4fabfd SHA1 a80b2b6d941487373270470f3adec855699cb10d SHA256 71ebec814b7866f0746bdc8c3c2a7ab1b3ce4d7ebc21888deb004f225b2bbe81
|
||||
EBUILD cc65-2.11.9.20070329.ebuild 1653 RMD160 0d3ddd8b2f2c1bd5e5bbc31efbdac0f085de7647 SHA1 273a0365b4df7af2443f6e965b2fbabd76ac2936 SHA256 7db89c77c752e8e120a289971c838a804afdb3f61b68cd74c8ed7d7fba13e2e7
|
||||
MD5 2d7069acca18ce2f7ee2dabc8e778bbb cc65-2.11.9.20070329.ebuild 1653
|
||||
RMD160 0d3ddd8b2f2c1bd5e5bbc31efbdac0f085de7647 cc65-2.11.9.20070329.ebuild 1653
|
||||
SHA256 7db89c77c752e8e120a289971c838a804afdb3f61b68cd74c8ed7d7fba13e2e7 cc65-2.11.9.20070329.ebuild 1653
|
||||
MD5 17a3b6e33944f58b38e2c2fe80544756 files/digest-cc65-2.11.9.20070329 319
|
||||
RMD160 1af84ce5fa19e5921c126e4989c62f76d852ede5 files/digest-cc65-2.11.9.20070329 319
|
||||
SHA256 a4a240acef5520e56827128de12bd342a5bb7e0b654534a639656911b49e2913 files/digest-cc65-2.11.9.20070329 319
|
64
trunk/linamh/dev-embedded/cc65/cc65-2.11.9.20070329.ebuild
Normal file
64
trunk/linamh/dev-embedded/cc65/cc65-2.11.9.20070329.ebuild
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2006 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/cc65-snapshot-sources-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
MD5 b399095286820ea61ec50038b2e531c1 cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942
|
||||
RMD160 ccbf10ad16dd5951ddea9caa0fd7762f7f4fabfd cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942
|
||||
SHA256 71ebec814b7866f0746bdc8c3c2a7ab1b3ce4d7ebc21888deb004f225b2bbe81 cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942
|
Loading…
Reference in New Issue
Block a user