summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-12-29 16:31:20 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-12-29 16:31:20 +0100
commit21b5a5c42223558adf3a1017cd5e8eaf81269388 (patch)
tree08347b7d33f0e4898ebecb0a601edc2ac086606c /app-text/teckit
parentapp-text/teckit: remove .la files, bug #593778 (diff)
downloadgentoo-21b5a5c42223558adf3a1017cd5e8eaf81269388.tar.gz
gentoo-21b5a5c42223558adf3a1017cd5e8eaf81269388.tar.bz2
gentoo-21b5a5c42223558adf3a1017cd5e8eaf81269388.zip
app-text/teckit: add static-libs useflag
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-text/teckit')
-rw-r--r--app-text/teckit/teckit-2.5.6.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-text/teckit/teckit-2.5.6.ebuild b/app-text/teckit/teckit-2.5.6.ebuild
index 299041370fbd..1f14072a4b7c 100644
--- a/app-text/teckit/teckit-2.5.6.ebuild
+++ b/app-text/teckit/teckit-2.5.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/silnrsi/teckit/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="static-libs"
RDEPEND="sys-libs/zlib
dev-libs/expat"
@@ -26,6 +26,10 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS README NEWS