mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
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:
1
dev-libs/xqilla/Manifest
Normal file
1
dev-libs/xqilla/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST XQilla-2.3.4.tar.gz 15439591 BLAKE2B 5ebb719823019552dd81f9bba7325e41626afaeca577f19c4b3ace04daf68fd4cfae2feb3bccffaad5fcb21bbce7acb32359613ea93ee33e97171dcdb1b5b53e SHA512 f744ff883675887494780d24ecdc94afa394d3795d1544b1c598016b3f936c340ad7cd84529ac12962e3c5ce2f1be928a0cd4f9b9eb70e6645a38b0728cb1994
|
||||
13
dev-libs/xqilla/files/lib_to_lib64.patch
Normal file
13
dev-libs/xqilla/files/lib_to_lib64.patch
Normal 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; }
|
||||
15
dev-libs/xqilla/metadata.xml
Normal file
15
dev-libs/xqilla/metadata.xml
Normal 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>
|
||||
29
dev-libs/xqilla/xqilla-2.3.4.ebuild
Normal file
29
dev-libs/xqilla/xqilla-2.3.4.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user