summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-31 12:22:37 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-31 13:43:31 +0100
commitd9b4100c7502005ae5079ffc2ea3d9dc023bd61a (patch)
tree2a734f4195b50cdc1471ce9f80cf54af56876a5d /dev-libs/iksemel
parentprofiles: Clean up old updates. (diff)
downloadgentoo-d9b4100c7502005ae5079ffc2ea3d9dc023bd61a.tar.gz
gentoo-d9b4100c7502005ae5079ffc2ea3d9dc023bd61a.tar.bz2
gentoo-d9b4100c7502005ae5079ffc2ea3d9dc023bd61a.zip
dev-libs/iksemel: Minor touchups
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-libs/iksemel')
-rw-r--r--dev-libs/iksemel/iksemel-1.4-r1.ebuild27
1 files changed, 17 insertions, 10 deletions
diff --git a/dev-libs/iksemel/iksemel-1.4-r1.ebuild b/dev-libs/iksemel/iksemel-1.4-r1.ebuild
index 502052fabde1..a848b64b193a 100644
--- a/dev-libs/iksemel/iksemel-1.4-r1.ebuild
+++ b/dev-libs/iksemel/iksemel-1.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit autotools eutils
+inherit autotools
DESCRIPTION="eXtensible Markup Language parser library designed for Jabber applications"
HOMEPAGE="https://github.com/meduketto/iksemel"
@@ -12,15 +12,17 @@ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="ssl"
+IUSE="ssl static-libs"
-RDEPEND="ssl? ( net-libs/gnutls )"
+RDEPEND="ssl? ( net-libs/gnutls:= )"
DEPEND="${RDEPEND}
- ssl? ( virtual/pkgconfig )"
+ ssl? ( virtual/pkgconfig )"
-PATCHES=( "${FILESDIR}/${PN}-1.3-gnutls-2.8.patch"
- "${FILESDIR}/${PN}-1.4-gnutls-3.4.patch"
- "${FILESDIR}/${PN}-1.4-ikstack.patch" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3-gnutls-2.8.patch
+ "${FILESDIR}"/${PN}-1.4-gnutls-3.4.patch
+ "${FILESDIR}"/${PN}-1.4-ikstack.patch
+)
src_prepare() {
default
@@ -28,10 +30,15 @@ src_prepare() {
}
src_configure() {
- econf $(use_with ssl gnutls)
+ econf \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
}
src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog HACKING NEWS README TODO
+ default
+ dodoc HACKING
+
+ # package installs .pc files
+ find "${D}" -name '*.la' -delete || die
}