dev-libs/xqilla: adding package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
This commit is contained in:
Michele Santullo
2020-05-05 19:27:51 +02:00
parent 9ed5ceb2cc
commit b9ef3192bb
4 changed files with 58 additions and 0 deletions

1
dev-libs/xqilla/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST XQilla-2.3.4.tar.gz 15439591 BLAKE2B 5ebb719823019552dd81f9bba7325e41626afaeca577f19c4b3ace04daf68fd4cfae2feb3bccffaad5fcb21bbce7acb32359613ea93ee33e97171dcdb1b5b53e SHA512 f744ff883675887494780d24ecdc94afa394d3795d1544b1c598016b3f936c340ad7cd84529ac12962e3c5ce2f1be928a0cd4f9b9eb70e6645a38b0728cb1994

View File

@@ -0,0 +1,13 @@
diff --git a/configure b/configure
index 60b02f0..64e967b 100755
--- a/configure
+++ b/configure
@@ -4155,7 +4155,7 @@ $as_echo "$with_tidy" >&6; }
if test "$with_tidy" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the HTML Tidy library is present" >&5
$as_echo_n "checking if the HTML Tidy library is present... " >&6; }
- if test `ls $with_tidy/lib/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then
+ if test `ls $with_tidy/lib64/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then
if test `ls $with_tidy/include/tidy/tidy.h 2>/dev/null | wc -l` -gt 0 ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>m.santullo@posteo.net</email>
<name>Michele Santullo</name>
</maintainer>
<upstream>
<bugs-to>https://sourceforge.net/p/xqilla/bugs/</bugs-to>
<remote-id type="sourceforge">xqilla</remote-id>
</upstream>
<use>
<flag name="tidy">Add Tidy-HTML5 support</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++"
HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs tidy"
DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/tidy-html5 )"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}"/lib_to_lib64.patch
)
S="${WORKDIR}"/XQilla-${PV}
src_configure() {
econf $(use_enable static-libs static) \
--with-tidy=$(usex tidy /usr no) \
--with-xerces=/usr
}