Commit 57b76eac authored by layman's avatar layman
Browse files

new ebuild for ldas-tools-diskcacheAPI-2.7.0

parent c264e114
......@@ -21,4 +21,4 @@ EBUILD ldas-tools-diskcacheAPI-2.6.0.ebuild 1734 BLAKE2B 5578ddbeda17520c9ce6663
EBUILD ldas-tools-diskcacheAPI-2.6.1.ebuild 1734 BLAKE2B 5578ddbeda17520c9ce66634e12090f03035a46f7dcc8e1ebf9f492f734a314804ec3efadeecbd692acb47de78cfb533121b23eeb087a029ef136f418ea2dea2 SHA512 fc828e07bb6666e4c762a0bb7ae15509be5c916d5d41ae9fce86f7d20a1104ffaad12fd464de313d2eff5d37729457837d338886ade31c473c139fabeba9a8f5
EBUILD ldas-tools-diskcacheAPI-2.6.2.ebuild 1734 BLAKE2B 5578ddbeda17520c9ce66634e12090f03035a46f7dcc8e1ebf9f492f734a314804ec3efadeecbd692acb47de78cfb533121b23eeb087a029ef136f418ea2dea2 SHA512 fc828e07bb6666e4c762a0bb7ae15509be5c916d5d41ae9fce86f7d20a1104ffaad12fd464de313d2eff5d37729457837d338886ade31c473c139fabeba9a8f5
EBUILD ldas-tools-diskcacheAPI-2.6.3.ebuild 1734 BLAKE2B 5578ddbeda17520c9ce66634e12090f03035a46f7dcc8e1ebf9f492f734a314804ec3efadeecbd692acb47de78cfb533121b23eeb087a029ef136f418ea2dea2 SHA512 fc828e07bb6666e4c762a0bb7ae15509be5c916d5d41ae9fce86f7d20a1104ffaad12fd464de313d2eff5d37729457837d338886ade31c473c139fabeba9a8f5
EBUILD ldas-tools-diskcacheAPI-2.7.0.ebuild 1734 BLAKE2B 5578ddbeda17520c9ce66634e12090f03035a46f7dcc8e1ebf9f492f734a314804ec3efadeecbd692acb47de78cfb533121b23eeb087a029ef136f418ea2dea2 SHA512 fc828e07bb6666e4c762a0bb7ae15509be5c916d5d41ae9fce86f7d20a1104ffaad12fd464de313d2eff5d37729457837d338886ade31c473c139fabeba9a8f5
EBUILD ldas-tools-diskcacheAPI-2.7.0.ebuild 679 BLAKE2B 02b6f8da6ba88cae10b8fd26a898824ed79ac7992c001bf2a00fc6721046372602f3102636d6520e22f20c14d6bf49f11c6c6f53676e537125a185c9bb292226 SHA512 b9f70d1ff8eb36ba69065661cee0e13960b26a56a75edd1beb636ec5d68469dbea9f8ea21536cb52e6dbe4a13f417480f49693e5112b2b508302da3f5076341b
......@@ -2,11 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
EAPI=6
LICENSE="GPL-2+"
inherit flag-o-matic systemd autotools libtool
append-flags -Wno-error
inherit cmake-utils
DESCRIPTION="LDAS tools libdiskcacheAPI toolkit runtime and development files. This provides the runtime libraries for the diskcacheAPI library."
HOMEPAGE="https://www.lsc-group.phys.uwm.edu/daswg/projects/ldas-tools.html"
......@@ -14,51 +13,12 @@ SRC_URI="http://software.ligo.org/lscsoft/source/${P}.tar.gz"
RESTRICT="primaryuri"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+64bit +boost systemd opt_none opt_low opt_medium +opt_high opt_extreme +static-libs +shared-libs latex"
RDEPEND="sci-libs/ldas-tools-al
sci-libs/ldas-tools-ldasgen
systemd? ( sys-apps/systemd )
boost? ( dev-libs/boost )
latex? ( app-text/texlive ) "
dev-libs/boost
app-text/texlive"
DEPEND="${RDEPEND}
app-doc/doxygen"
src_prepare() {
default
elibtoolize
}
src_configure() {
local myopt
myopt="--with-systemdsystemunitdir=no --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"
if use systemd ; then
systemd_dounit "${S}"/src/diskcache.service
fi
}
app-doc/doxygen
sci-libs/ldas-tools-cmake"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment