summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-23 16:12:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-23 16:12:07 +0000
commitf6b062ad5437f2dca6563be18daeaf86c31a0623 (patch)
treefe3d6d6ab8eace31de0e5a90df8b724a2376912f /sci-libs/liborigin
parentbump to 1.2.12 (diff)
downloadgentoo-2-f6b062ad5437f2dca6563be18daeaf86c31a0623.tar.gz
gentoo-2-f6b062ad5437f2dca6563be18daeaf86c31a0623.tar.bz2
gentoo-2-f6b062ad5437f2dca6563be18daeaf86c31a0623.zip
Version bump. Thanks for nonno.cicala@libero.it for his ebuild. Closing #151806
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-libs/liborigin')
-rw-r--r--sci-libs/liborigin/ChangeLog11
-rw-r--r--sci-libs/liborigin/files/digest-liborigin-200701153
-rw-r--r--sci-libs/liborigin/liborigin-20070115.ebuild43
3 files changed, 55 insertions, 2 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog
index 92f1f2df7a46..fd237948f869 100644
--- a/sci-libs/liborigin/ChangeLog
+++ b/sci-libs/liborigin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/liborigin
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.1 2006/11/07 20:23:52 george Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.2 2007/04/23 16:12:07 bicatali Exp $
+
+*liborigin-20070115 (23 Apr 2007)
+
+ 23 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +liborigin-20070115.ebuild:
+ Version bump. Thanks for nonno.cicala@libero.it for his ebuild. Closing
+ #151806
*liborigin-20060616 (07 Nov 2006)
diff --git a/sci-libs/liborigin/files/digest-liborigin-20070115 b/sci-libs/liborigin/files/digest-liborigin-20070115
new file mode 100644
index 000000000000..cb1941fc605d
--- /dev/null
+++ b/sci-libs/liborigin/files/digest-liborigin-20070115
@@ -0,0 +1,3 @@
+MD5 5ed1c7c0955f935d3b4e45fb25e1d7fc liborigin-20070115.tgz 20308
+RMD160 6531fb562e390a4a9afc64f56af78ce7b8316e10 liborigin-20070115.tgz 20308
+SHA256 125de16ffc055102bd0aaf31de71ad5daeefc962aea97723b75611800f9ecd38 liborigin-20070115.tgz 20308
diff --git a/sci-libs/liborigin/liborigin-20070115.ebuild b/sci-libs/liborigin/liborigin-20070115.ebuild
new file mode 100644
index 000000000000..e33410bf373c
--- /dev/null
+++ b/sci-libs/liborigin/liborigin-20070115.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-20070115.ebuild,v 1.1 2007/04/23 16:12:07 bicatali Exp $
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="A library for reading OriginLab OPJ project files"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+HOMEPAGE="http://sourceforge.net/projects/liborigin/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+SLOT="0"
+IUSE=""
+
+DEPEND="!sci-visualization/labplot"
+RESTRICT="test"
+
+src_compile() {
+ # the Makefile.LINUX is very basic, and *both* (and the only) "action" lines
+ # need to be adjusted. It is easier to simply build stuff in a proper way
+ # directly here.
+ $(tc-getCXX) \
+ ${CXXFLAGS} \
+ OPJFile.cpp \
+ -shared -Wl,-soname,liborigin.so.0 -fPIC \
+ -o liborigin.so.0.0.1 || die "lib compilation failed"
+ $(tc-getCXX) \
+ ${CXXFLAGS} \
+ opj2dat.cpp OPJFile.cpp \
+ -o opj2dat || die "exec compilation failed"
+}
+
+src_install() {
+ dolib liborigin.so.0.0.1 || die "dolib failed"
+ dosym liborigin.so.0.0.1 /usr/$(get_libdir)/liborigin.so.0
+ dosym liborigin.so.0 /usr/$(get_libdir)/liborigin.so
+ dobin opj2dat || die "dobin failed"
+ dodoc README ws4.opj || die "dodoc failed"
+ insinto /usr/include
+ doins OPJFile.h || die "doins failed"
+}