summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/fribidi/fribidi-0.19.2-r1.ebuild')
-rw-r--r--dev-libs/fribidi/fribidi-0.19.2-r1.ebuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild b/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild
index ef66b9c69333..312bb145a0f9 100644
--- a/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild
+++ b/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild,v 1.2 2011/10/14 15:59:37 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.19.2-r1.ebuild,v 1.3 2011/10/23 11:27:36 scarabeus Exp $
+
+EAPI=4
-EAPI="2"
inherit autotools eutils
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
@@ -12,12 +13,14 @@ SRC_URI="http://fribidi.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="static-libs"
RDEPEND=">=dev-libs/glib-2.4:2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO )
+
src_prepare() {
# bug #318569
epatch "${FILESDIR}/${P}-glib.patch"
@@ -25,7 +28,12 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS NEWS README ChangeLog THANKS TODO || die
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
}