-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlibxslt-python-1.1.45.ebuild
More file actions
46 lines (40 loc) · 1.05 KB
/
libxslt-python-1.1.45.ebuild
File metadata and controls
46 lines (40 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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 distutils-r1
DESCRIPTION="XSLT libraries Python bindings"
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"
KEYWORDS="*"
IUSE="+crypt static-libs"
RDEPEND="=dev-libs/libxslt-1.1.45:=[crypt?]
"
DEPEND="${RDEPEND}
"
S="${WORKDIR}/libxslt-1.1.45"
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 \
--with-python \
$(use_with crypt crypto) \
$(use_enable static-libs static)
( cd ${S}/python && ./generator.py ) || die
export S="${S}/python"
distutils-r1_src_configure
}
src_compile() {
distutils-r1_src_compile
}
src_install() {
distutils-r1_src_install
}
# vim: filetype=ebuild