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.45.tar.xz 1519992 BLAKE2B ab93de7b37c03b99bd170e0e781bce262c9e0f107bc1d47998995cdacbaa5ee0163692c2758d4240bcb260f8376055541f378f428da63f63b3d2c9d12bb92efb SHA512 8f0608aad7250ccfe62808169d464a1641535b41a73b4fbbc1eeec9c9e785bbd8f4860d571eb567ee1e7abbd89ac3d707a5f3e3a9e836ecaf38155793ce47d78
57 changes: 57 additions & 0 deletions dev-libs/libxslt/libxslt-1.1.45.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.45.tar.xz -> libxslt-1.1.45.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