summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-11-04 10:56:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-11-04 10:56:51 +0000
commit31c9c62a81b447d2a017bd737e24e604c33917b5 (patch)
tree6cd19419ea3133ba060090cd8c77fdd843570205 /sci-libs
parentVersion bump (diff)
downloadgentoo-2-31c9c62a81b447d2a017bd737e24e604c33917b5.tar.gz
gentoo-2-31c9c62a81b447d2a017bd737e24e604c33917b5.tar.bz2
gentoo-2-31c9c62a81b447d2a017bd737e24e604c33917b5.zip
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/liborigin/ChangeLog8
-rw-r--r--sci-libs/liborigin/files/digest-liborigin-200709263
-rw-r--r--sci-libs/liborigin/liborigin-20070926.ebuild43
3 files changed, 53 insertions, 1 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog
index cede788ed29e..bbef547f7954 100644
--- a/sci-libs/liborigin/ChangeLog
+++ b/sci-libs/liborigin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/liborigin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.7 2007/10/14 20:44:43 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.8 2007/11/04 10:56:50 bicatali Exp $
+
+*liborigin-20070926 (04 Nov 2007)
+
+ 04 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +liborigin-20070926.ebuild:
+ Version bump.
14 Oct 2007; Jeff Gardner <je_fro@gentoo.org> liborigin-20070821.ebuild:
Added 3 get_libdir commands to Makefile.LINUX so multilib works.
diff --git a/sci-libs/liborigin/files/digest-liborigin-20070926 b/sci-libs/liborigin/files/digest-liborigin-20070926
new file mode 100644
index 000000000000..279dd0158b87
--- /dev/null
+++ b/sci-libs/liborigin/files/digest-liborigin-20070926
@@ -0,0 +1,3 @@
+MD5 9491a17382930f0c03eef715aa336de0 liborigin-20070926.tar.gz 46573
+RMD160 39e67bca7a2d71378b15c5f45fa6b90f9c68b0c6 liborigin-20070926.tar.gz 46573
+SHA256 4c52d5fdc7d4c875d41710c9172f4fadc02e9672760490a4bdb6f92ba9c6dff9 liborigin-20070926.tar.gz 46573
diff --git a/sci-libs/liborigin/liborigin-20070926.ebuild b/sci-libs/liborigin/liborigin-20070926.ebuild
new file mode 100644
index 000000000000..696cbd257ade
--- /dev/null
+++ b/sci-libs/liborigin/liborigin-20070926.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20070926.ebuild,v 1.1 2007/11/04 10:56:50 bicatali Exp $
+
+inherit multilib
+
+DESCRIPTION="A library for reading OriginLab OPJ project files"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://sourceforge.net/projects/liborigin/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+SLOT="0"
+IUSE=""
+
+DEPEND="!<sci-visualization/labplot-1.5.1.6"
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ # CC is defined as a C++ compiler in the Makefile
+ sed -i \
+ -e '/^CC.*=/d' \
+ -e 's/CC/CXX/g' \
+ -e 's/CFLAGS.*=/CXXFLAGS +=/' \
+ -e 's/CFLAGS/CXXFLAGS/g' \
+ -e '/ldconfig/d' \
+ -e "s/mkdir -p lib/mkdir -p $(get_libdir)/g" \
+ -e "s/\`.\/lib-arch.sh\`/$(get_libdir)/g" \
+ -e "s/lib\//$(get_libdir)\//g" \
+ "${S}"/Makefile.LINUX \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake -j1 LIBEXT=$(get_libdir) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README FORMAT || die "dodoc failed"
+}