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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jun 24 10:19:59 2015 UTC (5 years, 5 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop old; Bump EAPI

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20110323.ebuild,v 1.2 2013/03/02 23:23:00 hwoarang Exp $
4
5 EAPI=4
6
7 inherit eutils qt4-r2
8
9 DESCRIPTION="Library for reading OriginLab OPJ project files"
10 HOMEPAGE="http://soft.proindependent.com/liborigin2/"
11 SRC_URI="mirror://berlios/qtiplot/${PN}2-${PV}.zip"
12
13 LICENSE="GPL-3"
14 SLOT="2"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="doc"
17
18 RDEPEND="dev-libs/boost"
19 DEPEND="${RDEPEND}
20 app-arch/unzip
21 dev-qt/qtgui:4
22 dev-cpp/tree
23 doc? ( app-doc/doxygen )"
24
25 DOCS="readme FORMAT"
26
27 S="${WORKDIR}"/${PN}${SLOT}
28
29 src_prepare() {
30 mv liborigin2.pro liborigin.pro || die
31 qt4-r2_src_prepare
32 cat >> liborigin.pro <<-EOF
33 INCLUDEPATH += "${EPREFIX}/usr/include/tree"
34 headers.files = \$\$HEADERS
35 headers.path = "${EPREFIX}/usr/include/liborigin2"
36 target.path = "${EPREFIX}/usr/$(get_libdir)"
37 INSTALLS = target headers
38 EOF
39 # use system one
40 rm -f tree.hh || die
41 }
42
43 src_compile() {
44 qt4-r2_src_compile
45 if use doc; then
46 cd doc
47 doxygen Doxyfile || die "doc generation failed"
48 fi
49 }
50
51 src_install() {
52 qt4-r2_src_install
53 use doc && dohtml -r doc/html/*
54 }

  ViewVC Help
Powered by ViewVC 1.1.20