Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 357356 Details for
Bug 482946
dev-libs/loki - C++ library of common design patterns and idioms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild
loki-0.1.7.ebuild (text/plain), 1.93 KB, created by
Vladimir Pavljuchenkov (SpiderX)
on 2013-08-29 17:34:30 UTC
(
hide
)
Description:
ebuild
Filename:
MIME Type:
Creator:
Vladimir Pavljuchenkov (SpiderX)
Created:
2013-08-29 17:34:30 UTC
Size:
1.93 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="5" > >DESCRIPTION="C++ library of common design patterns and idioms" >HOMEPAGE="http://loki-lib.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}-lib/${P}.tar.bz2" >LICENSE="MIT" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="doc debug static-libs" >DEPEND="doc? ( app-doc/doxygen[dot] )" > >src_prepare() { > # Remove hardcoded flags and make use of system ones > sed -i 's/:= $(CXXWARNFLAGS) -g -O2/+= $(CXXWARNFLAGS)/' "${S}"/Makefile.common || die "sed for Makefile.common failed" > sed -i '9d' "${S}"/test/Longevity/Makefile || die "sed for Longevity failed" > sed -i '6d' "${S}"/test/SafeFormat/Makefile || die "sed for SafeFormat failed" > sed -i '9d' "${S}"/test/SmallObj/Makefile || die "sed for SmallObj failed" > > # Make should consider $DESTDIR > sed -i 's/$(prefix)/$(DESTDIR)$(prefix)/' "${S}"/include/Makefile || die "sed for include failed" > sed -i 's/$(prefix)/$(DESTDIR)$(prefix)/' "${S}"/src/Makefile || die "sed for src failed" > > if ! use static-libs ; then > # Remove static-libs if not needed > sed -i 's/install install-static/install /;24d' "${S}"/Makefile || die "sed for static-libs failed" > fi > > if use debug ; then > # Add debug flag > sed -i 's/DNDEBUG/DDEBUG -g3/' "${S}"/src/Makefile || die "sed for debug in Makefile failed" > sed -i 's/DNDEBUG/DDEBUG -g3/' "${S}"/test/Makefile.common || die "sed for debug in Makefile.common failed" > fi >} > >src_compile() { > default > > if use doc ; then > # Compile docs > cd doc || die "cd failed" > doxygen || die "doxygen failed to compile docs" > fi >} > >src_install() { > # Install and copy documentation > default > > if use doc ; then > # Install files into docs directory > docinto flex > dohtml "${S}"/doc/flex/flex_string.html > docinto yasli > dohtml "${S}"/doc/yasli/yasli.html > dodoc "${S}"/doc/yasli/Notes.txt > > # Install html documentation > docinto html > dohtml -r "${S}"/doc/html/ > fi >}
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 482946
:
357356
|
357358
|
358022
|
358024
|
358036