Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 159133 Details for
Bug 230229
app-text/noweb: optionally install emacs noweb-mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild
noweb-2.11b-r1.ebuild (text/plain), 2.32 KB, created by
Denys Duchier
on 2008-07-01 16:22:07 UTC
(
hide
)
Description:
ebuild
Filename:
MIME Type:
Creator:
Denys Duchier
Created:
2008-07-01 16:22:07 UTC
Size:
2.32 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b.ebuild,v 1.2 2008/06/18 06:31:03 wormo Exp $ > >inherit eutils toolchain-funcs elisp-common > >SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz" >HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/" >LICENSE="freedist GPL-2" >DESCRIPTION="a literate programming tool, lighter than web" > >SLOT="0" >IUSE="examples emacs" >KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" > >DEPEND="virtual/tex-base > dev-lang/icon > sys-apps/debianutils > emacs? ( virtual/emacs )" > >S=${WORKDIR}/${P}/src > >SITEFILE="51noweb-gentoo.el" > >src_unpack() { > unpack ${A} > cd "${S}" > > epatch "${FILESDIR}"/${PN}-2.9-security.patch > # dont run texhash... > sed -i -e "s/texhash/true/" Makefile > # dont strip... > sed -i -e "s/strip/true/" Makefile >} > >src_compile() { > # noweb tries to use notangle and noweb; see bug #50429 > ( cd c; emake ICONC="icont" CC=$(tc-getCC) CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die > export PATH="${PATH}:${T}" > emake ICONC="icont" CC=$(tc-getCC) BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \ > || die "make temporal install failed." > > emake ICONC="icont" CC=$(tc-getCC) CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed" > # Set awk to awk not nawk > ./awkname awk > # maybe compile noweb emacs mode > if use emacs; then > elisp-compile elisp/noweb-mode.el || die "elisp-compile failed" > fi >} > >src_install () { > # It needs the directories to exisst first... > dodir /usr/bin > dodir /usr/libexec/${PN} > dodir /usr/share/man > dodir /usr/share/texmf/tex/inputs > emake ICONC="icont" \ > BIN="${D}/usr/bin" \ > LIBSRC="icon" \ > LIBNAME="/usr/libexec/${PN}" \ > LIB="${D}/usr/libexec/${PN}" \ > MAN="${D}/usr/share/man" \ > TEXNAME="/usr/share/texmf/tex/inputs" \ > TEXINPUTS="${D}/usr/share/texmf/tex/inputs" \ > install || die "make install failed" > cd "${WORKDIR}/${P}" > if use examples; then > insinto /usr/share/doc/${PF}/examples > doins examples/* > fi > dodoc CHANGES README > # emacs support > if use emacs; then > elisp-install ${PN} src/elisp/noweb-mode.{el,elc} > elisp-site-file-install "${FILESDIR}/${SITEFILE}" > fi >} > >pkg_postinst() { > use emacs && elisp-site-regen > einfo "Running texhash to complete installation.." > texhash >} > >pkg_postrm() { > use emacs && elisp-site-regen >}
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 230229
:
158987
|
158989
| 159133 |
159135