sci-libs/libqalculate: version bump
authorDavid Seifert <soap@gentoo.org>
Tue, 2 Aug 2016 20:42:13 +0000 (22:42 +0200)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 3 Aug 2016 04:12:04 +0000 (23:12 -0500)
* EAPI=6

Package-Manager: portage-2.3.0
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/libqalculate/Manifest
sci-libs/libqalculate/libqalculate-0.9.9.ebuild [new file with mode: 0644]

index 708c5fc82506e4d21b95928add2bb332a25a1925..406b9607a194a6601cd87b807dc342f9ad4a29b2 100644 (file)
@@ -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 (file)
index 0000000..513479b
--- /dev/null
@@ -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
+}