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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Aug 3 07:07:04 2015 UTC (5 years, 3 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Drop old

(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-20100903.ebuild,v 1.6 2013/03/02 23:23:00 hwoarang Exp $
4
5 EAPI="3"
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://gentoo/${P}.tar.bz2"
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 dev-qt/qtgui:4
21 dev-cpp/tree
22 doc? ( app-doc/doxygen )"
23
24 PATCHES=(
25 "${FILESDIR}/liborigin-20100420-build-parsers.patch"
26 )
27
28 DOCS="readme FORMAT"
29
30 src_prepare() {
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 if use doc; then
54 insinto /usr/share/doc/${PF}
55 doins -r doc/html || die "doc install failed"
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20