summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-09-06 08:48:26 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-06 08:49:31 +0100
commite8935432b84cfd046394aa37c91bfc609d913b78 (patch)
tree7727407ae5c677ca95784f65891f421c358be131 /dev-libs/libxls
parentnet-firewall/iptables: stable 1.8.5 for hppa (diff)
downloadgentoo-e8935432b84cfd046394aa37c91bfc609d913b78.tar.gz
gentoo-e8935432b84cfd046394aa37c91bfc609d913b78.tar.bz2
gentoo-e8935432b84cfd046394aa37c91bfc609d913b78.zip
dev-libs/libxls: bump up to 1.6.0
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/libxls')
-rw-r--r--dev-libs/libxls/Manifest1
-rw-r--r--dev-libs/libxls/libxls-1.6.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/libxls/Manifest b/dev-libs/libxls/Manifest
index be38bbf67011..2b49bb526930 100644
--- a/dev-libs/libxls/Manifest
+++ b/dev-libs/libxls/Manifest
@@ -1 +1,2 @@
DIST libxls-1.5.3.tar.gz 442217 BLAKE2B 4aab9acfaab96cb25e00ada599f607e5f448820d9cb32605ccd51454fd9f819c1426810f300fbf4a1c7523d5409d6f4fcb08e827c95775f3ec95bc65d7f8315a SHA512 75943e7bd3f1dbc28cc50ff7e4f21a9b6a9c97299c7594e0807b06e0bca9cca3d83f3e52086950422d67f175ae0c7c677222a1f716c5297e2f072b8e7b4fc52d
+DIST libxls-1.6.0.tar.gz 443517 BLAKE2B a0c9c6c4d7de7bf8408bd24494983d271e56f7b7dd2f296915f971e75f00a10369d50e5a2c659e915af9997b9569a77325e292b3ff8aa0aa9144a71dd110975b SHA512 235c420f7a2fce303267c4170f0395b6f6ec66b20eeac10d2f3f5daeab268c2fd8f3fe747510341c3c95c0389a8f13e71a87df4401e43e8d82d20101f21838c5
diff --git a/dev-libs/libxls/libxls-1.6.0.ebuild b/dev-libs/libxls/libxls-1.6.0.ebuild
new file mode 100644
index 000000000000..6238aba02e32
--- /dev/null
+++ b/dev-libs/libxls/libxls-1.6.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="A library which can read Excel (xls) files"
+HOMEPAGE="https://github.com/libxls/libxls"
+SRC_URI="https://github.com/libxls/libxls/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/1" # libxlsreader.so.1
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+
+RESTRICT=test # test driver is missing
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.0-asprintf.patch
+)
+
+src_configure() {
+ econf \
+ --disable-static
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -type f -delete || die
+}