sci-libs/libqalculate: version bump

* EAPI=6

Package-Manager: portage-2.3.0
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
David Seifert
2016-08-02 22:42:13 +02:00
committed by Matthias Maier
parent bdc0ce3090
commit ffafa28c6e
2 changed files with 63 additions and 0 deletions

View 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

View File

@@ -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
}