diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-07 20:54:38 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-07 20:54:38 +0000 |
commit | 1cd18594dbf8bdefb5874a90f0be9869805d63e9 (patch) | |
tree | 4262f7d0837e2c8c9f21ee76507c9a551b672ee6 /sci-libs/liborigin | |
parent | Initial import (diff) | |
download | gentoo-2-1cd18594dbf8bdefb5874a90f0be9869805d63e9.tar.gz gentoo-2-1cd18594dbf8bdefb5874a90f0be9869805d63e9.tar.bz2 gentoo-2-1cd18594dbf8bdefb5874a90f0be9869805d63e9.zip |
Version and slot bump
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/liborigin')
-rw-r--r-- | sci-libs/liborigin/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/liborigin/liborigin-20090326.ebuild | 58 |
2 files changed, 66 insertions, 2 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog index 9db5650504ee..ed88520516a5 100644 --- a/sci-libs/liborigin/ChangeLog +++ b/sci-libs/liborigin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/liborigin -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.11 2008/03/15 10:02:45 corsair Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.12 2009/04/07 20:54:38 bicatali Exp $ + +*liborigin-20090326 (07 Apr 2009) + + 07 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org> + +liborigin-20090326.ebuild: + Version and slot bump 15 Mar 2008; Markus Rothe <corsair@gentoo.org> liborigin-20080225.ebuild: Added ~ppc64 diff --git a/sci-libs/liborigin/liborigin-20090326.ebuild b/sci-libs/liborigin/liborigin-20090326.ebuild new file mode 100644 index 000000000000..f104d978eba1 --- /dev/null +++ b/sci-libs/liborigin/liborigin-20090326.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20090326.ebuild,v 1.1 2009/04/07 20:54:38 bicatali Exp $ + +EAPI=2 +inherit eutils qt4 + +MYP=${PN}2-${PV} +S="${WORKDIR}/${MYP}" + +DESCRIPTION="Library for reading OriginLab OPJ project files" +SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/liborigin/" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" + +SLOT="2" +IUSE="doc" + +RDEPEND="dev-libs/boost + x11-libs/qt-core:4" +DEPEND="${RDEPEND} + dev-cpp/tree + doc? ( app-doc/doxygen )" + +src_prepare() { + cat >> liborigin.pro <<-EOF + INCLUDEPATH += /usr/include/tree + headers.files = \$\$HEADERS + headers.path = /usr/include/liborigin2 + target.path = /usr/$(get_libdir) + INSTALLS = target headers + EOF + # use system one + rm -f tree.hh || die +} + +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 + if use doc; then + insinto /usr/share/doc/${PF} + doins -r doc/html || die "doc install failed" + fi +} |