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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Apr 16 17:39:58 2009 UTC (11 years, 7 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Bunch of QA fixes, removed tree.hh now in main tree
(Portage version: 2.2_rc30/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20080225.ebuild,v 1.2 2008/03/15 10:02:45 corsair Exp $
4
5 inherit multilib
6
7 DESCRIPTION="A library for reading OriginLab OPJ project files"
8 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9 HOMEPAGE="http://sourceforge.net/projects/liborigin/"
10
11 LICENSE="GPL-2"
12 KEYWORDS="~amd64 ~ppc64 ~x86"
13
14 SLOT="0"
15 IUSE=""
16
17 DEPEND="!<sci-visualization/labplot-1.5.1.6"
18 RESTRICT="test"
19
20 src_unpack() {
21 unpack ${A}
22 # CC is defined as a C++ compiler in the Makefile
23 sed -i \
24 -e '/^CC.*=/d' \
25 -e 's/CC/CXX/g' \
26 -e 's/CFLAGS.*=/CXXFLAGS +=/' \
27 -e 's/CFLAGS/CXXFLAGS/g' \
28 -e '/ldconfig/d' \
29 -e "s/mkdir -p lib/mkdir -p $(get_libdir)/g" \
30 -e "s/\`.\/lib-arch.sh\`/$(get_libdir)/g" \
31 -e "s/lib\//$(get_libdir)\//g" \
32 "${S}"/Makefile.LINUX \
33 || die "sed Makefile failed"
34 }
35
36 src_compile() {
37 emake -j1 LIBEXT=$(get_libdir) || die "emake failed"
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
42 dodoc README FORMAT || die "dodoc failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20