/[gentoo-x86]/sci-libs/liborigin/liborigin-20090406.ebuild
Gentoo

Contents of /sci-libs/liborigin/liborigin-20090406.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Oct 18 16:01:44 2010 UTC (10 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version Bump, removed old

(Portage version: 2.2_rc97/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20090406.ebuild,v 1.3 2010/04/26 20:34:20 maekke Exp $
4
5 EAPI=2
6 inherit eutils qt4
7
8 # hardcoded for now until it's back in sourceforge
9 MYP=${PN}2-06042009
10 S="${WORKDIR}/${MYP}"
11
12 DESCRIPTION="Library for reading OriginLab OPJ project files"
13 SRC_URI="mirror://berlios/qtiplot/${MYP}.zip"
14 HOMEPAGE="http://sourceforge.net/projects/liborigin/"
15
16 LICENSE="GPL-3"
17 KEYWORDS="amd64 x86"
18
19 SLOT="2"
20 IUSE="doc"
21
22 RDEPEND="dev-libs/boost"
23 DEPEND="${RDEPEND}
24 x11-libs/qt-gui:4
25 dev-cpp/tree
26 doc? ( app-doc/doxygen )"
27
28 src_prepare() {
29 cat >> liborigin.pro <<-EOF
30 INCLUDEPATH += /usr/include/tree
31 headers.files = \$\$HEADERS
32 headers.path = /usr/include/liborigin2
33 target.path = /usr/$(get_libdir)
34 INSTALLS = target headers
35 EOF
36 # use system one
37 rm -f tree.hh || die
38 }
39
40 src_configure() {
41 eqmake4
42 }
43
44 src_compile() {
45 emake || die "emake failed"
46 if use doc; then
47 cd doc
48 doxygen Doxyfile || die "doc generation failed"
49 fi
50 }
51
52 src_install() {
53 emake INSTALL_ROOT="${D}" install || die "emake install failed"
54 dodoc readme FORMAT
55 if use doc; then
56 insinto /usr/share/doc/${PF}
57 doins -r doc/html || die "doc install failed"
58 fi
59 }

  ViewVC Help
Powered by ViewVC 1.1.20