Skip to content
Snippets Groups Projects
Select Git revision
  • df0e5efe2374895d91cb194ab56229b04417bdec
  • master default protected
2 results

WorkbenchView.h

Blame
  • ldas-tools-framecpp-2.6.0.ebuild 1.61 KiB
    # Copyright 1999-2013 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $
    
    EAPI=5
    LICENSE="GPL-2+"
    
    inherit flag-o-matic libtool
    append-flags -Wno-error
    
    DESCRIPTION="LDAS tools libframecpp toolkit files. This provides the runtime and development files for the framecpp library."
    HOMEPAGE="https://www.lsc-group.phys.uwm.edu/daswg/projects/ldas-tools.html"
    SRC_URI="http://software.ligo.org/lscsoft/source/${P}.tar.gz"
    RESTRICT="primaryuri"
    SLOT="0"
    KEYWORDS="~amd64"
    IUSE="+boost +64bit opt_none opt_low opt_medium +opt_high opt_extreme +static-libs +shared-libs latex"
    
    RDEPEND="sci-libs/ldas-tools-al"
    
    DEPEND="${RDEPEND}
        app-doc/doxygen
        boost? ( dev-libs/boost )
        latex? ( app-text/texlive )
        sys-devel/libtool
        virtual/pkgconfig
        sys-devel/bc
        media-gfx/graphviz"
    
    
    src_prepare() {
        default
        elibtoolize
    }
    
    src_configure() {
        local myopt
        myopt="--disable-silent-rules --enable-fast-install --disable-dependency-tracking --with-optimization="
        if use opt_none ; then
            myopt="${myopt}none"        
        elif use opt_low ; then
            myopt="${myopt}low"
        elif use opt_medium ; then
            myopt="${myopt}medium"
        elif use opt_high ; then
            myopt="${myopt}high"
        elif use opt_extreme ; then
            myopt="${myopt}extreme"
        fi
        if use boost ; then
            myopt="${myopt} --with-boost=yes"
        fi    
        econf \
            $(use_enable 64bit) \
        	$(use_enable latex) \
        	$(use_enable shared-libs shared) \
        	$(use_enable static-libs static) \
            ${myopt}
    }
    
    src_install() {
            einstall || die "einstall failed"
    }