diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-10-18 16:03:58 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-10-18 16:03:58 +0000 |
commit | 0f0a0018778f297b46066df3d810ff6ffbe16a08 (patch) | |
tree | 08aff64d7ea1e15a50c4a36591b84ae396fed2dc /sci-libs/liborigin/liborigin-20100630.ebuild | |
parent | Version Bump, removed old (diff) | |
download | gentoo-2-0f0a0018778f297b46066df3d810ff6ffbe16a08.tar.gz gentoo-2-0f0a0018778f297b46066df3d810ff6ffbe16a08.tar.bz2 gentoo-2-0f0a0018778f297b46066df3d810ff6ffbe16a08.zip |
Readded liborigin-20100630.ebuild
(Portage version: 2.2_rc97/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/liborigin/liborigin-20100630.ebuild')
-rw-r--r-- | sci-libs/liborigin/liborigin-20100630.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sci-libs/liborigin/liborigin-20100630.ebuild b/sci-libs/liborigin/liborigin-20100630.ebuild new file mode 100644 index 000000000000..03c0d91e3ea7 --- /dev/null +++ b/sci-libs/liborigin/liborigin-20100630.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20100630.ebuild,v 1.3 2010/10/18 16:03:58 jlec Exp $ + +EAPI="3" + +inherit eutils qt4 + +DESCRIPTION="Library for reading OriginLab OPJ project files" +HOMEPAGE="http://soft.proindependent.com/liborigin2/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-libs/boost" +DEPEND="${RDEPEND} + x11-libs/qt-gui:4 + dev-cpp/tree + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}/liborigin-20100420-build-parsers.patch" + cat >> liborigin.pro <<-EOF + INCLUDEPATH += "${EPREFIX}/usr/include/tree" + headers.files = \$\$HEADERS + headers.path = "${EPREFIX}/usr/include/liborigin2" + target.path = "${EPREFIX}/usr/$(get_libdir)" + INSTALLS = target headers + EOF + # use system one + rm -f tree.hh || die + epatch "${FILESDIR}"/${P}-gcc45.patch +} + +src_configure() { + eqmake4 +} + +src_compile() { + emake || die "emake failed" + if use doc; then + cd doc + doxygen Doxyfile || die "doc generation failed" + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + dodoc readme FORMAT || die + if use doc; then + insinto /usr/share/doc/${PF} + doins -r doc/html || die "doc install failed" + fi +} |