diff options
author | David Seifert <soap@gentoo.org> | 2016-08-02 22:42:13 +0200 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2016-08-02 23:12:04 -0500 |
commit | ffafa28c6ee27e16b8ebf09d9f94eda84b8a784d (patch) | |
tree | 745d603f6d7a8123318f366d00ff47581ca7c1ce /sci-libs | |
parent | dev-libs/beecrypt: Stable for HPPA (bug #577864). (diff) | |
download | gentoo-ffafa28c6ee27e16b8ebf09d9f94eda84b8a784d.tar.gz gentoo-ffafa28c6ee27e16b8ebf09d9f94eda84b8a784d.tar.bz2 gentoo-ffafa28c6ee27e16b8ebf09d9f94eda84b8a784d.zip |
sci-libs/libqalculate: version bump
* EAPI=6
Package-Manager: portage-2.3.0
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/libqalculate/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/libqalculate/libqalculate-0.9.9.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 708c5fc82506..406b9607a194 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -1 +1,2 @@ DIST libqalculate-0.9.7.tar.gz 1256271 SHA256 9a6d97ce3339d104358294242c3ecd5e312446721e93499ff70acc1604607955 SHA512 9aae8540481df4aa1cb24b1c6e8e9424e87758444f0b9689cd809bdf4230c4b5257c74363e6f084cea4e3be1935f45c53e7fc592f76d25d709ad88c97884bc42 WHIRLPOOL 21259323d91a8d7dc746048a3ef52f435ad3ff0450c08238d6a1d246990c5144a3072826ae0d2f656f75fe3c3be51b5c93a90f81eec4c742188bb9e33f5c171f +DIST libqalculate-0.9.9.tar.gz 1509180 SHA256 ca9fe0228b83d8f8398c3aca233691630bf455389e75bffe8164f0f89a208793 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384 WHIRLPOOL 4beac95ee8eb1e3e6520abb4ec420e0e6319e864d7f279ffbdaba8176a7b210733da5ea8d74894db500f65a45ca6ef3502c19e4a6977cdc784d661868676eeb3 diff --git a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild new file mode 100644 index 000000000000..513479bf33da --- /dev/null +++ b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="A modern multi-purpose calculator library" +HOMEPAGE="https://qalculate.github.io/" +SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/6" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="gnuplot readline static-libs" + +COMMON_DEPEND=" + dev-libs/glib:2 + dev-libs/libxml2:2 + >=sci-libs/cln-1.2 + sys-libs/zlib + readline? ( sys-libs/readline:0= )" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + net-misc/wget + gnuplot? ( >=sci-visualization/gnuplot-3.7 )" + +src_prepare() { + default + + cat >po/POTFILES.skip <<-EOF + # Required by make check + data/currencies.xml.in + data/datasets.xml.in + data/elements.xml.in + data/functions.xml.in + data/planets.xml.in + data/units.xml.in + data/variables.xml.in + src/defs2doc.cc + EOF +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with readline) +} + +src_install() { + # docs/reference/Makefile.am -> referencedir= + emake \ + DESTDIR="${D}" \ + referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ + install + + dodoc AUTHORS ChangeLog NEWS README* TODO + + find "${ED}" -name '*.la' -delete || die +} |