From 7288c6e5fa05acddbf692a5187d925ef85662b46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Apr 2023 11:55:01 +0100 Subject: gentoo auto-resync : 18:04:2023 - 11:55:01 --- dev-libs/libxls/libxls-1.6.2-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-libs/libxls/libxls-1.6.2-r1.ebuild (limited to 'dev-libs/libxls/libxls-1.6.2-r1.ebuild') diff --git a/dev-libs/libxls/libxls-1.6.2-r1.ebuild b/dev-libs/libxls/libxls-1.6.2-r1.ebuild new file mode 100644 index 000000000000..0ba177446fdc --- /dev/null +++ b/dev-libs/libxls/libxls-1.6.2-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/8" # libxlsreader.so.8 +KEYWORDS="amd64 ~arm ~arm64 x86" + +BDEPEND=" + app-arch/unzip + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0-asprintf.patch + "${FILESDIR}"/${PN}-1.6.2-gcc13.patch +) + +src_configure() { + econf \ + --disable-static +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die +} -- cgit v1.2.3