dev-libs/libxls: bump up to 1.4.0, bug #607094

Adopt an orphan.

Bug: https://bugs.gentoo.org/607094

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sergei Trofimovich
2017-01-28 18:00:52 +00:00
parent c193b4c8fb
commit 62ae86ae23
4 changed files with 52 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST libxls-0.3.0_pre107.tar.bz2 294219 SHA256 134f3c92c26e233fa16f8a6a4eeb7efd148d4594b3772eaca6d8faa96c2cf5f0 SHA512 a9008a01a4a64ff5f968b0413f9cbc618d4e877420c6d125198fdcddf648ac4b52afeb5a21422e67d28175497e8fbddea21b03fe47c1b9452f1d9f24f5e0fc76 WHIRLPOOL 614da39ca6cfcf9b875f236c93d1ed476036d758d366821f0b9353fbac09c411759bf4dab58fe041a09f4bfcff8b8610cfc01afc8837458a7a261def149d9c7a
DIST libxls-1.4.0.zip 428782 SHA256 d3baea458a511d9b587a367528fa2a7fef410113ac9f6359834469b8f8d10dbd SHA512 e55c0faa25b17a42d53ca939c80e1d3fd0c0e91de7f73d3d10d1fb6658e58e8f38f4e6288a3e3ecb9ae53ea681629ee66ec173229325eea69e01cbd038e68c95 WHIRLPOOL 03188b444cb6e2c1e80e45d1f9947c6a1221985d80a26795bef75f40c24a7b526ea4bb920e74d94e6520ead092b3604d786c2197032e986464db4fafe2b915e1

View File

@@ -0,0 +1,8 @@
diff --git a/src/xlstool.c b/src/xlstool.c
index 54eab0e..ef1c7e9 100644
--- a/src/xlstool.c
+++ b/src/xlstool.c
@@ -32,2 +32,3 @@
+#define _GNU_SOURCE /* asprintf */
#include "config.h"

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
DESCRIPTION="A library which can read Excel (xls) files"
HOMEPAGE="http://libxls.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/libxls/${P}.zip"
LICENSE="GPL-2 LGPL-3"
SLOT="0/1" # libxlsreader.so.1
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
RESTRICT=test # test driver is missing
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}"/${P}-asprintf.patch
)
src_configure() {
econf \
--disable-static
}
src_install() {
default
prune_libtool_files
}

View File

@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>slyfox@gentoo.org</email>
<name>Sergei Trofimovich</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">libxls</remote-id>
</upstream>