# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="View and manage contents of your wine cellar" HOMEPAGE="http://xcave.free.fr/index-en.php" SRC_URI="http://${PN}.free.fr/download/en/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="nls" RDEPEND=">=x11-libs/gtk+-2 dev-libs/libxml2" DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext )" src_compile() { econf $(use_enable nls) emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc ChangeLog README TODO rm -rf "${D}"/usr/share/doc/${PN} }