# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/zypper/zypper-1.9.1.ebuild,v 1.3 2014/10/09 09:21:21 jlec Exp $ EAPI=5 inherit cmake-utils DESCRIPTION="Command line RPM package manager developed by SUSE" HOMEPAGE="http://en.opensuse.org/Portal:Zypper" SRC_URI="http://github.com/openSUSE/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" RDEPEND=" >=app-admin/augeas-0.5.0 dev-libs/boost dev-libs/libxml2 >=dev-libs/libzypp-14.28.0 sys-libs/readline:0 " DEPEND="${DEPEND} sys-devel/gettext " RESTRICT="test" src_prepare() { epatch "${FILESDIR}/${PN}-fix-header.patch" } src_test() { cmake-utils_src_compile -C tests cmake-utils_src_test }