blob: 095ee1927131273e919d2e3345a53cd6f27570d6 (
plain)
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libyui/libyui-2.21.1.ebuild,v 1.3 2012/07/30 18:14:12 miska Exp $
EAPI=4
inherit autotools eutils
DESCRIPTION="UI abstraction library"
HOMEPAGE="http://sourceforge.net/projects/libyui/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qt4 ncurses gtk"
DEPEND=""
REQUIRED_USE="|| ( qt4 ncurses gtk )"
PDEPEND="
qt4? ( x11-libs/libyui-qt )
ncurses? ( x11-libs/libyui-ncurses )
gtk? ( x11-libs/libyui-gtk )
"
src_prepare() {
epatch "${FILESDIR}/${P}-gcc-47.patch"
eautoreconf
}
src_configure() {
econf --disable-static
}
src_install() {
default
find "${ED}" -name '*.la' -exec rm -f {} +
}
|