# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Ultimate++ framework" HOMEPAGE="http://www.ultimatepp.org/" SRC_URI="http://downloads.sourceforge.net/project/upp/upp/${PV}/upp-x11-src-${PV}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc sparc x86" RDEPEND="sys-devel/gcc dev-libs/glib x11-libs/gtk+ media-libs/freetype x11-libs/cairo x11-libs/libXinerama dev-libs/atk x11-libs/pango" DEPEND="${RDEPEND}" S=${WORKDIR}/upp-x11-src-${PV} src_unpack() { unpack ${A} cd ${S} } src_compile() { emake || die "make failed" } src_install () { einfo "Installing TheIDE (safe to ignore following QA warnings)" mv ${S}/uppsrc/ide.out ${S}/theide dobin theide mkdir -p ${D}/usr/share/upp cp ${S}/GCC.bm ${D}/usr/share/upp cp -r ${S}/bazaar ${D}/usr/share/upp cp -r ${S}/examples ${D}/usr/share/upp cp -r ${S}/reference ${D}/usr/share/upp cp -r ${S}/tutorial ${D}/usr/share/upp cp -r ${S}/uppsrc ${D}/usr/share/upp elog "When you run 'theide' the first time as a user, it will ask to copy the upp shares" elog "to your homedirectory. This is the normal procedure, the shared files will never" elog "be used directly." }