# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit eutils DESCRIPTION="Simply the process of joining non-Microsoft hosts to Active Directory domains" HOMEPAGE="http://www.powerbrokeropen.org" SRC_URI="http://archive.ubuntu.com/ubuntu/pool/main/l/likewise-open/likewise-open_6.1.0.406.orig.tar.gz" MY_PV=${PV/_6.1.0.406/-6.1.0.406} IUSE="gtk +kerberos" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND="sys-devel/gcc:4.7 sys-devel/libtool >=sys-devel/autoconf-2.61-r1 >=sys-devel/automake-1.9.6-r3 dev-util/pkgconfig" DEPEND="${RDEPEND} sys-devel/flex sys-devel/bison dev-libs/openssl gtk? ( gnome-base/libglade ) kerberos? ( sys-auth/pam_krb5 ) sys-apps/attr" src_configure() { mkdir ${S}/gtk && cd ${S}/gtk ../configure $(use_enable gtk && echo --with-gtk) \ --host-distro=gentoo \ $(use_enable kerberos) make package cd ${S} } src_install() { cd ${S}/gtk emake DESTDIR="${D}" install dodoc LICENSE README }