mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/sablotron: drop 1.0.3-r2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_PN="Sablot"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DESCRIPTION="An XSLT Parser in C++"
|
||||
HOMEPAGE="https://sourceforge.net/projects/sablotron/"
|
||||
SRC_URI="https://downloads.sourceforge.net/sablotron/${MY_P}.tar.gz"
|
||||
|
||||
# Sablotron can optionally be built under GPL, using MPL for now
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="perl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/expat-1.95.6-r1
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-perl/XML-Parser-2.3
|
||||
"
|
||||
DOCS=(
|
||||
README README_JS RELEASE src/TODO
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.3-libsablot-expat.patch
|
||||
"${FILESDIR}"/${PN}-1.0.3-cxx11.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_enable perl perlconnect) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user