summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-12-09 18:09:46 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-12-09 18:11:11 +0000
commit580d786e450b879d0cb93dd0c0b0bb4c3e510d2d (patch)
tree5f086115c2917d7cc538ecc3c259475bf1e1fd9f /dev-libs/libxls
parentdev-scheme/guile-gcrypt: bump up to 0.2.0 (diff)
downloadgentoo-580d786e450b879d0cb93dd0c0b0bb4c3e510d2d.tar.gz
gentoo-580d786e450b879d0cb93dd0c0b0bb4c3e510d2d.tar.bz2
gentoo-580d786e450b879d0cb93dd0c0b0bb4c3e510d2d.zip
dev-libs/libxls: bump up to 1.5.2
Package-Manager: Portage-2.3.81, Repoman-2.3.20 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.5.2.ebuild39
-rw-r--r--dev-libs/libxls/metadata.xml1
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/libxls/Manifest b/dev-libs/libxls/Manifest
index b22cd686234a..4a9fce388d1e 100644
--- a/dev-libs/libxls/Manifest
+++ b/dev-libs/libxls/Manifest
@@ -1 +1,2 @@
DIST libxls-1.4.0.zip 428782 BLAKE2B 52b67eff4ae315dfde42abd276ace7adaecdd4d88d971a97f9aca1f0cce0c874cbcfa6a060880f1101e4fa685fa566475e753eb34ee621e509fbee8c427e6d52 SHA512 e55c0faa25b17a42d53ca939c80e1d3fd0c0e91de7f73d3d10d1fb6658e58e8f38f4e6288a3e3ecb9ae53ea681629ee66ec173229325eea69e01cbd038e68c95
+DIST libxls-1.5.2.tar.gz 443227 BLAKE2B 3d12357e3c476b203ce7be76cfb828a0353732135303301f26880ca1607e9cf4a6781fafe7ebf4dae0914678de30168d80230dc0d83d189dca63c98d0cd54384 SHA512 83e443713944648d6bb5db03a03b3addff1d925a1c83c49e6bb9b29245da76ff351e6a76239e62c92400e5d513394a33366fb979d2bc0b0d8ed0cc7f024c5fc1
diff --git a/dev-libs/libxls/libxls-1.5.2.ebuild b/dev-libs/libxls/libxls-1.5.2.ebuild
new file mode 100644
index 000000000000..9fd4b6191e56
--- /dev/null
+++ b/dev-libs/libxls/libxls-1.5.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 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
+
+ prune_libtool_files
+}
diff --git a/dev-libs/libxls/metadata.xml b/dev-libs/libxls/metadata.xml
index 8a47f96b1b95..81bdb807379e 100644
--- a/dev-libs/libxls/metadata.xml
+++ b/dev-libs/libxls/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">libxls</remote-id>
+ <remote-id type="github">libxls/libxls</remote-id>
</upstream>
</pkgmetadata>