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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Sep 20 15:39:43 2007 UTC (13 years, 2 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.1.3.9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20070115.ebuild,v 1.2 2007/05/06 14:34:13 carlo Exp $
4
5 inherit toolchain-funcs multilib
6
7 DESCRIPTION="A library for reading OriginLab OPJ project files"
8 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
9 HOMEPAGE="http://sourceforge.net/projects/liborigin/"
10
11 LICENSE="GPL-2"
12 KEYWORDS="~x86 ~amd64"
13
14 SLOT="0"
15 IUSE=""
16
17 DEPEND="!<sci-visualization/labplot-1.5.1.6"
18 RESTRICT="test"
19
20 src_compile() {
21 # the Makefile.LINUX is very basic, and *both* (and the only) "action" lines
22 # need to be adjusted. It is easier to simply build stuff in a proper way
23 # directly here.
24 $(tc-getCXX) \
25 ${CXXFLAGS} \
26 OPJFile.cpp \
27 -shared -Wl,-soname,liborigin.so.0 -fPIC \
28 -o liborigin.so.0.0.1 || die "lib compilation failed"
29 $(tc-getCXX) \
30 ${CXXFLAGS} \
31 opj2dat.cpp OPJFile.cpp \
32 -o opj2dat || die "exec compilation failed"
33 }
34
35 src_install() {
36 dolib liborigin.so.0.0.1 || die "dolib failed"
37 dosym liborigin.so.0.0.1 /usr/$(get_libdir)/liborigin.so.0
38 dosym liborigin.so.0 /usr/$(get_libdir)/liborigin.so
39 dobin opj2dat || die "dobin failed"
40 dodoc README ws4.opj || die "dodoc failed"
41 insinto /usr/include
42 doins OPJFile.h || die "doins failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20