# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ # Thanks to Mark Byers for an other search technique for gjc #ESVN_REPO_URI="svn://svn.berlios.de/irate/trunk/libcpp" inherit eutils IUSE="" SRC_URI="http://irate.sourceforge.net/kirate/kirateradio_libirate-0.2.tar.bz2" DESCRIPTION="C++ library for irate" DESCRIPTION_FR="Librairie C++ pour irate" HOMEPAGE="http://irate.sf.net" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" S="${WORKDIR}/distrib/libcpp" RESTRICT="nomirror" DEPEND="sys-devel/gcc sys-apps/which >=x11-libs/qt-3" pkg_setup () { if [ -z "$(which gcj 2>/dev/null)" ] then eerror "It seems that your system doesn't provides a Java compiler." eerror "Re-emerge sys-devel/gcc with \"java\" and \"gcj\" enabled. " die "gcj not found" fi } src_compile() { make || die make qtlib || die } src_install () { dodir /usr/lib make install prefix=${D}usr }