Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81748 Details for
Bug 83877
ghdl-0.25-r1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ghdl-0.21 cross-platform ebuild
ghdl-0.21-r1.ebuild (text/plain), 4.53 KB, created by
Timothy Stotts
on 2006-03-09 02:04:29 UTC
(
hide
)
Description:
ghdl-0.21 cross-platform ebuild
Filename:
MIME Type:
Creator:
Timothy Stotts
Created:
2006-03-09 02:04:29 UTC
Size:
4.53 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >MY_PV=4.0.2 >DESCRIPTION="ghdl Compiler" >SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${MY_PV}/gcc-core-${MY_PV}.tar.bz2 > http://ghdl.free.fr/ghdl-${PV}.tar.bz2" >HOMEPAGE="http://ghdl.free.fr/" > >DEPEND="" >SLOT="0" >KEYWORDS="~x86 ~ppc" >LICENSE="GPL-2" >IUSE="" > >GCCBUILD="${WORKDIR}/gcc-${MY_PV}" > >DEPEND="dev-lang/gnat" > >CFLAGS="-O" > >src_unpack() { > unpack ${A} > > cp -r ${WORKDIR}/ghdl-${PV}/vhdl ${GCCBUILD}/gcc > cd "${GCCBUILD}" > > patch ${GCCBUILD}/gcc/Makefile.in ${FILESDIR}/gccpatch || die "patch failed" > patch ${GCCBUILD}/gcc/vhdl/Makefile.in ${FILESDIR}/ghdlpatch-${PV} || die "patch failed" >} > > >src_compile() { > # Configure gcc > mkdir ${WORKDIR}/objdir > cd ${WORKDIR}/objdir > > "${GCCBUILD}"/configure --prefix=/usr \ > --program-prefix="ghdl" \ > --enable-languages="vhdl" \ > --libdir=/usr/lib/ghdl \ > --libexecdir=/usr/lib/ghdl \ > --datadir=/usr/data/ghdl \ > || die "configure failed" > > make || die "ghdl build" >} > >src_install() { > # Install ghdl, tools > cd "${WORKDIR}/objdir" > #make prefix=${D}/usr \ > #libdir=${D}/usr/lib/ghdl \ > #libexecdir=${D}/usr/libexec/ghdl \ > #datadir=${D}/usr/data/ghdl \ > #install || die "died while installing" > make install DESTDIR=${D} || die "died while installing" > >} > >pkg_postinst() { > # reanalyze the libraries on the system > local BPATH=${ROOT}usr/lib/ghdl/gcc/${CHOST}/${MY_PV}/vhdl > > local STD93SRCS="${BPATH}/src/std/textio.v93 \ > ${BPATH}/src/std/textio_body.v93" > > local STD87SRCS="${BPATH}/src/std/textio.v87 \ > ${BPATH}/src/std/textio_body.v87" > > local IEEE93SRCS="${BPATH}/src/ieee/std_logic_1164.v93 \ > ${BPATH}/src/ieee/std_logic_1164_body.v93 \ > ${BPATH}/src/ieee/numeric_bit.v93 \ > ${BPATH}/src/ieee/numeric_bit-body.v93 \ > ${BPATH}/src/ieee/numeric_std.v93 \ > ${BPATH}/src/ieee/numeric_std-body.v93 \ > ${BPATH}/src/vital2000/timing_p.vhdl \ > ${BPATH}/src/vital2000/timing_b.vhdl \ > ${BPATH}/src/vital2000/prmtvs_p.vhdl \ > ${BPATH}/src/vital2000/prmtvs_b.vhdl \ > ${BPATH}/src/vital2000/memory_p.vhdl \ > ${BPATH}/src/vital2000/memory_b.vhdl" > > local IEEE87SRCS="${BPATH}/src/ieee/std_logic_1164.v87 \ > ${BPATH}/src/ieee/std_logic_1164_body.v87 \ > ${BPATH}/src/ieee/numeric_bit.v87 \ > ${BPATH}/src/ieee/numeric_bit-body.v87 \ > ${BPATH}/src/ieee/numeric_std.v87 \ > ${BPATH}/src/ieee/numeric_std-body.v87 \ > ${BPATH}/src/vital95/vital_timing.vhdl \ > ${BPATH}/src/vital95/vital_timing_body.vhdl \ > ${BPATH}/src/vital95/vital_primitives.vhdl \ > ${BPATH}/src/vital95/vital_primitives_body.vhdl" > > local SYNSRCS="${BPATH}/src/synopsys/std_logic_arith.vhdl \ > ${BPATH}/src/synopsys/std_logic_textio.vhdl \ > ${BPATH}/src/synopsys/std_logic_unsigned.vhdl \ > ${BPATH}/src/synopsys/std_logic_signed.vhdl \ > ${BPATH}/src/synopsys/std_logic_misc.vhdl \ > ${BPATH}/src/synopsys/std_logic_misc-body.vhdl" > > local MENTORSRCS="${BPATH}/src/mentor/std_logic_arith.vhdl \ > ${BPATH}/src/mentor/std_logic_arith_body.vhdl" > > einfo "" > einfo "Beginning re-analyze..." > einfo "" > > for file in ${STD93SRCS}; do > ghdl -a --bootstrap --work=std --std=93 --ieee=none \ > --workdir=${BPATH}/lib/v93/std $file || die "reanalyze failed"; > done > > for file in ${STD87SRCS}; do > ghdl -a --bootstrap --work=std --std=87 --ieee=none \ > --workdir=${BPATH}/lib/v87/std $file || die "reanalyze failed"; > done > > for file in ${IEEE93SRCS}; do > ghdl -a --bootstrap --work=ieee --ieee=none --std=93 \ > -P${BPATH}/lib/v93/std \ > --workdir=${BPATH}/lib/v93/ieee $file || die "reanalyze failed"; > done > > for file in ${IEEE87SRCS}; do > ghdl -a --bootstrap --work=ieee --std=87 --ieee=none --std=87 \ > -P${BPATH}/lib/v87/std \ > --workdir=${BPATH}/lib/v87/ieee $file || die "reanalyze failed"; > done > > cp ${BPATH}/lib/v93/ieee/ieee-obj93.cf ${BPATH}/lib/v93/synopsys > for file in ${SYNSRCS}; do > ghdl -a -v --bootstrap --work=ieee --ieee=none --std=93 \ > -P${BPATH}/lib/v93/std \ > --workdir=${BPATH}/lib/v93/synopsys $file || die "reanalyze failed"; > done > > cp ${BPATH}/lib/v87/ieee/ieee-obj87.cf ${BPATH}/lib/v87/synopsys > for file in ${SYNSRCS}; do > ghdl -a -v --bootstrap --work=ieee --ieee=none --std=87 \ > -P${BPATH}/lib/v87/std \ > --workdir=${BPATH}/lib/v87/synopsys $file || die "reanalyze failed"; > done > > cp ${BPATH}/lib/v93/ieee/ieee-obj93.cf ${BPATH}/lib/v93/mentor > for file in ${MENTORSRCS}; do > ghdl -a -v --bootstrap --work=ieee --ieee=none --std=93 \ > -P${BPATH}/lib/v93/std \ > --workdir=${BPATH}/lib/v93/mentor $file || die "reanalyze failed"; > done > > # Notify the user what changed > einfo "" > einfo "The compiler has been installed as ghdl." > einfo "" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 83877
:
52490
|
52491
|
52492
|
60161
|
60213
|
69193
|
77954
|
78049
|
78050
|
78144
| 81748 |
83267
|
90413
|
98144