# 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)
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST liborigin-20060616.tar.gz 17643 RMD160 343a4b34b420274c713fd03b4ccd4ca4bfe80e73 SHA1 a0cf5045e7258bd27fc42c466f2faf3336392104 SHA256 9daad51b7bda61ae9acc17eaa3b98761c7a0225eb1822bebe75b54154c03aaf0
+DIST liborigin-20070115.tgz 20308 RMD160 6531fb562e390a4a9afc64f56af78ce7b8316e10 SHA1 9a925b151692cf62987626633f312f47ddb6f5e6 SHA256 125de16ffc055102bd0aaf31de71ad5daeefc962aea97723b75611800f9ecd38
EBUILD liborigin-20060616.ebuild 1002 RMD160 3203e49a70fa7fee7043f7f5160db3b52f1643b8 SHA1 0cd8e00baa03a5e12e937017589f7d14453bec6e SHA256 e395d39d632e2ee3515f173ffaba398e37e4dae1c72ff7f08ee9ebaee7859a34
MD5 1489027ecd6b8bee644ac8744062a779 liborigin-20060616.ebuild 1002
RMD160 3203e49a70fa7fee7043f7f5160db3b52f1643b8 liborigin-20060616.ebuild 1002
SHA256 e395d39d632e2ee3515f173ffaba398e37e4dae1c72ff7f08ee9ebaee7859a34 liborigin-20060616.ebuild 1002
-MISC ChangeLog 443 RMD160 4ad1e90a62553736afb4308e49446756efbb76f1 SHA1 ad3bac3dc2cfc57e860790b502902155ed3216fc SHA256 7718f7bdb3818b7105ef55ff54df9dd8f960a88fa0356771b2927447237884b1
-MD5 c731824eb2e1a821a1f5b0a45f9815c1 ChangeLog 443
-RMD160 4ad1e90a62553736afb4308e49446756efbb76f1 ChangeLog 443
-SHA256 7718f7bdb3818b7105ef55ff54df9dd8f960a88fa0356771b2927447237884b1 ChangeLog 443
+EBUILD liborigin-20070115.ebuild 1306 RMD160 4db97b68beff938f871a24802ef020e62ae1c6b4 SHA1 f45a7ba8a9f349c2e9c1fe58364a2398d9c77832 SHA256 847b603dc57b69e7c0b8a5ddce0c7122f1964c125c1cc32dbfaf251dd8cd3f80
+MD5 7591903befaa49cd4b8e271bacdfd3b9 liborigin-20070115.ebuild 1306
+RMD160 4db97b68beff938f871a24802ef020e62ae1c6b4 liborigin-20070115.ebuild 1306
+SHA256 847b603dc57b69e7c0b8a5ddce0c7122f1964c125c1cc32dbfaf251dd8cd3f80 liborigin-20070115.ebuild 1306
+MISC ChangeLog 650 RMD160 838879b23437f60d03abad7623324c867a9442d4 SHA1 2b97b4862cdd7c6004544a82b248c82cb6068286 SHA256 8568d7a3f6f9bd6576d6bf902024e57de184db61a97d5321579b0fe024e96a11
+MD5 383256ab87b5b08c19fb46e74c0f21ed ChangeLog 650
+RMD160 838879b23437f60d03abad7623324c867a9442d4 ChangeLog 650
+SHA256 8568d7a3f6f9bd6576d6bf902024e57de184db61a97d5321579b0fe024e96a11 ChangeLog 650
MISC metadata.xml 253 RMD160 6f6629a29e3d78392dc866988d84e1181f4393b4 SHA1 8eec277c384cc4ab1e293172028c71ca164af7a4 SHA256 ade43daac692ebcd9187e8c0ec18331a14f189a686a3c9c52c1016a3e7f98ba0
MD5 2080e1501bd2ad8e051bcdc0af429303 metadata.xml 253
RMD160 6f6629a29e3d78392dc866988d84e1181f4393b4 metadata.xml 253
MD5 99271d8f3ec565d1d45ebaa572cb63b2 files/digest-liborigin-20060616 253
RMD160 7593c1554bb1df7373e6b0356c08462f0cd02cd3 files/digest-liborigin-20060616 253
SHA256 95ff0c0c95af021156850be617903ad75768d980b26a94f0a8d006b08af91d06 files/digest-liborigin-20060616 253
+MD5 48f68f740e3a34c23185e90b4e60a4a5 files/digest-liborigin-20070115 244
+RMD160 4ca812603d9f8807856817a3e7a0010ff34ed106 files/digest-liborigin-20070115 244
+SHA256 4ba016bc063b0096c7950bc55b5342ea79fd893ab4002896a693cb7df0c67e79 files/digest-liborigin-20070115 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFGLNrk1ycZbhPLE2ARAj8kAKCFjeKrzMM99DZkaf0f/vnSj2HbLQCfW37y
+jCQI+rz9B6M3cdd2Zee47wk=
+=C8OD
+-----END PGP SIGNATURE-----
--- /dev/null
+# 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"
+}