You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-libs/libyui/libyui-2.21.1.ebuild

39 lines
804 B

# 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 {} +
}