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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 6 23:13:06 2008 UTC (12 years, 8 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump and removed older ones
(Portage version: 2.1.4.4)

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-20070926.ebuild,v 1.1 2007/11/04 10:56:50 bicatali 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="~x86 ~amd64"
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