Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261635 Details for
Bug 353823
app-misc/dvtm-0.6 - Additional USE flags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild with added USE flags
dvtm-0.6.ebuild (text/plain), 1.87 KB, created by
Richard Anderson
on 2011-02-06 08:35:59 UTC
(
hide
)
Description:
Ebuild with added USE flags
Filename:
MIME Type:
Creator:
Richard Anderson
Created:
2011-02-06 08:35:59 UTC
Size:
1.87 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-0.6.ebuild,v 1.3 2011/01/15 14:26:25 maekke Exp $ > >EAPI=3 > >inherit savedconfig toolchain-funcs > >DESCRIPTION="Dynamic virtual terminal manager" >HOMEPAGE="http://www.brain-dump.org/projects/dvtm/" >SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="unicode cmdfifo mouse statusbar" > >DEPEND="sys-libs/ncurses[unicode?]" >RDEPEND=${DEPEND} > >src_prepare() { > sed -i \ > -e 's|FLAGS =|FLAGS +=|' \ > -e 's|-I/usr/local/include||' \ > -e 's|-L/usr/local/lib||' \ > -e 's|-Os||' \ > config.mk || die "sed config.mk failed" > use unicode || { > sed -i \ > -e 's|-lncursesw|-lncurses|' \ > config.mk || die "sed config.mk failed" > } > use mouse || { > sed -i \ > -e 's|^CFLAGS += -DCONFIG_MOUSE$||' \ > config.mk || die "sed config.mk failed" > } > use cmdfifo && { > sed -i \ > -e 's|^#\(CFLAGS += -DCONFIG_CMDFIFO\)$|\1|' \ > config.mk || die "sed config.mk failed" > } > use statusbar || { > sed -i \ > -e 's|^CFLAGS += -DCONFIG_STATUSBAR$||' \ > config.mk || die "sed config.mk failed" > } > sed -i \ > -e '/strip/d' \ > Makefile || die "sed Makefile failed" > > use savedconfig && restore_config config.h >} > >src_compile() { > local msg="" > use savedconfig && msg=", please check the configfile" > emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}" >} > >src_install() { > emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" > > insinto /usr/share/${PN} > newins config.h ${PF}.config.h || die "newins failed" > > dodoc README || die "dodoc failed" > > save_config config.h >} > >pkg_postinst() { > elog "This ebuild has support for user defined configs" > elog "Please read this ebuild for more details and re-emerge as needed" > elog "if you want to add or remove functionality for ${PN}" >}
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 353823
: 261635