diff options
-rw-r--r-- | sci-libs/liborigin/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/liborigin/files/digest-liborigin-20060616 | 3 | ||||
-rw-r--r-- | sci-libs/liborigin/files/digest-liborigin-20070529 | 3 | ||||
-rw-r--r-- | sci-libs/liborigin/liborigin-20060616.ebuild | 34 | ||||
-rw-r--r-- | sci-libs/liborigin/liborigin-20070529.ebuild | 45 |
5 files changed, 55 insertions, 38 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog index e65a21501c75..d0deeeb3df54 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.4 2007/05/06 14:34:13 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.5 2007/08/01 17:20:34 bicatali Exp $ + +*liborigin-20070529 (01 Aug 2007) + + 01 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> + -liborigin-20060616.ebuild, +liborigin-20070529.ebuild: + Version bump 06 May 2007; Carsten Lohrke <carlo@gentoo.org> liborigin-20070115.ebuild: Update Labplot blocker. diff --git a/sci-libs/liborigin/files/digest-liborigin-20060616 b/sci-libs/liborigin/files/digest-liborigin-20060616 deleted file mode 100644 index 5a443c1293b5..000000000000 --- a/sci-libs/liborigin/files/digest-liborigin-20060616 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 37cddf26175fb335c77ff448170770c2 liborigin-20060616.tar.gz 17643 -RMD160 343a4b34b420274c713fd03b4ccd4ca4bfe80e73 liborigin-20060616.tar.gz 17643 -SHA256 9daad51b7bda61ae9acc17eaa3b98761c7a0225eb1822bebe75b54154c03aaf0 liborigin-20060616.tar.gz 17643 diff --git a/sci-libs/liborigin/files/digest-liborigin-20070529 b/sci-libs/liborigin/files/digest-liborigin-20070529 new file mode 100644 index 000000000000..4abb1b11a009 --- /dev/null +++ b/sci-libs/liborigin/files/digest-liborigin-20070529 @@ -0,0 +1,3 @@ +MD5 fee326e07c4e4e40f339a241d38d3545 liborigin-20070529.tar.gz 29402 +RMD160 96b4a60691ed322bbdada80d8ed81ce83ae4d4d7 liborigin-20070529.tar.gz 29402 +SHA256 b84f0afa3a24798be3a358fe5aaa9ba50d2eec1a02aff69bda7a9f138fad9277 liborigin-20070529.tar.gz 29402 diff --git a/sci-libs/liborigin/liborigin-20060616.ebuild b/sci-libs/liborigin/liborigin-20060616.ebuild deleted file mode 100644 index 5f736930d5d5..000000000000 --- a/sci-libs/liborigin/liborigin-20060616.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20060616.ebuild,v 1.3 2007/07/13 06:57:50 mr_bones_ Exp $ - -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="" - -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. - g++ -shared -Wl,-soname,liborigin.so.0 ${CXXFLAGS} -fPIC OPJFile.cpp \ - -o liborigin.so.0.0.1 - g++ -o opj2dat ${CXXFLAGS} opj2dat.cpp OPJFile.cpp - ln -s liborigin.so.0.0.1 liborigin.so.0 - ln -s liborigin.so.0 liborigin.so -} - -src_install() { - dolib liborigin.so* - dobin opj2dat - dodoc COPYING README ws4.opj - insinto /usr/include - doins OPJFile.h -} diff --git a/sci-libs/liborigin/liborigin-20070529.ebuild b/sci-libs/liborigin/liborigin-20070529.ebuild new file mode 100644 index 000000000000..2cce00424aa1 --- /dev/null +++ b/sci-libs/liborigin/liborigin-20070529.ebuild @@ -0,0 +1,45 @@ +# 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-20070529.ebuild,v 1.1 2007/08/01 17:20:34 bicatali Exp $ + +inherit toolchain-funcs 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" + +S="${WORKDIR}/${PN}" + +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" +} |