Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-libs/libxslt/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST libxslt-1.1.38.tar.xz 1576676 BLAKE2B 9397be8b223bd68b326b954fe6a749a269e969b4669747678715728f553916c23475232fc2894a5e4230e15b031981423adeb8f83407f4db8075a784c7e6a55b SHA512 2836bd2990b95680db0960ac4c465d0c6c28a293ad095a224c05021a1c8d2576a45e41da8947a31f4ef3e6ef368cbda65243661e311c9886c19694be5a7c9a8e
DIST libxslt-1.1.43.tar.xz 1518364 BLAKE2B 84d1cff32c78c4eeff4db614214ee1808bcf958d55711b08e7e2191a4343fb61d38d6b3d9b43f6f12be2dc909fced0a5b5905fa2c5ec7761c83125007e1ce265 SHA512 96110b0397a8f5791f489127574e2143845feb61bea0581d7b7e3c1101fd0718483bae81a7ce417b971bd678293bfd95daddad0dadd3e256c87d41a69faed85a
57 changes: 57 additions & 0 deletions dev-libs/libxslt/libxslt-1.1.43.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
PYTHON_COMPAT=( python3+ )
inherit flag-o-matic libtool python-single-r1

DESCRIPTION="XSLT libraries and tools"
HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt"
SRC_URI="https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.43.tar.xz -> libxslt-1.1.43.tar.xz"
LICENSE="MIT"
SLOT="0/0"
KEYWORDS="*"
IUSE="crypt debug python static-libs examples"
RDEPEND="dev-libs/libxml2:2
crypt? ( dev-libs/libgcrypt:0= )
python? ( ${PYTHON_DEPS} )

"
DEPEND="${RDEPEND}
${PYTHON_DEPS}

"
PDEPEND="python? ( dev-python/libxslt-python )

"
src_prepare() {
default
elibtoolize
}
src_configure() {
# Remove this after upstream merge request to add AC_SYS_LARGEFILE lands:
# https://gitlab.gnome.org/GNOME/libxslt/-/merge_requests/55
append-lfs-flags
ECONF_SOURCE="${S}" econf \
--without-python \
$(use_with crypt crypto) \
$(use_with debug) \
$(use_with debug mem-debug) \
$(use_enable static-libs static)
}
src_compile() {
# Peform the build, sans python:
default
}
src_install() {
emake DESTDIR="${D}" install
einstalldocs
if ! use examples ; then
rm -rf "${ED}"/usr/share/doc/${PF}/tutorial{,2} || die
rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
fi
find "${ED}" -type f -name "*.la" -delete || die
}


# vim: filetype=ebuild