Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30893 Details for
Bug 50308
[NEW] sci-misc/archc (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
NEW EBUILD: app-sci/archc-0.8.3.ebuild
archc-0.8.3.ebuild (text/plain), 2.71 KB, created by
Gustavo Sverzut Barbieri
on 2004-05-06 20:36:52 UTC
(
hide
)
Description:
NEW EBUILD: app-sci/archc-0.8.3.ebuild
Filename:
MIME Type:
Creator:
Gustavo Sverzut Barbieri
Created:
2004-05-06 20:36:52 UTC
Size:
2.71 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># Maintainer: Gustavo Sverzut Barbieri <gsbarbieri@yahoo.com.br> ># $Header:$ > >IUSE="" > >KEYWORDS="~x86" >SLOT="0" > >MY_P="${PN}-v${PV}" >MY_PKG="${MY_P}.tgz" >S="${WORKDIR}/${PN}" > > >DESCRIPTION="ArchC is an open-source architecture description language" >SRC_URI="http://unc.dl.sourceforge.net/sourceforge/archc/${MY_PKG}" > >HOMEPAGE="http://www.archc.org" >LICENSE="GPL-2" > >DEPEND=">=sys-devel/bison-1.35 > >=sys-devel/flex-2.5.4 > >=sys-devel/gcc-3.2 > >=app-sci/systemc-2.0.1" > >DEPEND="${DEPEND}" > >src_compile() { > # Stupid Makefile... just "make" already install :( > cd ${S} > emake acpp || die >} > >src_install () { > cd ${S} > > # Do install manually until they implement a descent install method > dodir /usr/share/archc/config > dodir /usr/share/archc/src > dodir /usr/share/archc/include > > # Copy binary > dobin acpp > > # Copy src and include > insopts -m0644 > insinto /usr/share/archc/src > doins src/* > insinto /usr/share/archc/include > doins include/* > > insinto /usr/share/archc > doins ac_decoder.o > > # Values from install.sh > local ARCHC_PATH="" > local SYSTEMC_PATH=$(dirname "$(qpkg -nc -l systemc | grep /libsystemc.a)") > local CC="g++" > local optflag="" > local debugflag="-g" > local otherflag="-Wall -Wno-deprecated -Wno-char-subscripts" > local SYSTEMC_TARGET="linux" > cat > ${D}/usr/share/archc/config/archc.conf <<EOF >#--------------------------------------------------------------------------- ># Paths >#--------------------------------------------------------------------------- >ARCHC_PATH = ${ARCHC_PATH} >SYSTEMC_PATH = ${SYSTEMC_PATH} >CC = ${CC} > >#--------------------------------------------------------------------------- ># Compiler Flags >#--------------------------------------------------------------------------- >OPT = ${optflag} >DEBUG = ${debugflag} >OTHER = ${otherflag} > >#--------------------------------------------------------------------------- ># Simulator Flags >#--------------------------------------------------------------------------- >TARGET_ARCH = ${SYSTEMC_TARGET} >EOF > > # Create an env.d entry with ARCHC_PATH > dodir /etc/env.d > echo "ARCHC_PATH=${ROOT}/usr/share/archc" > ${D}/etc/env.d/99archc > > # ArchC expects SystemC to be in ${SYSTEMC_PATH}/lib-linux/libsystemc.a > dodir ${SYSTEMC_PATH}/lib-linux > dosym ${SYSTEMC_PATH}/libsystemc.a ${SYSTEMC_PATH}/lib-linux > > # Install documentation. > dodoc ChangeLog COPYING COPYING.LIB README >} > > >pkg_postinst() { > einfo "The environment has been set up to ArchC find its files." > einfo "In order to immediately activate these settings please do:" > einfo " env-update" > einfo " source /etc/profile" > einfo "Otherwise the settings will become active next time you login." >}
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 50308
:
30893
|
30978