summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/liborigin/ChangeLog8
-rw-r--r--sci-libs/liborigin/files/digest-liborigin-200711193
-rw-r--r--sci-libs/liborigin/liborigin-20071119.ebuild43
3 files changed, 53 insertions, 1 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog
index bbef547f7954..ef312f35fa65 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.8 2007/11/04 10:56:50 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.9 2007/11/28 22:49:44 bicatali Exp $
+
+*liborigin-20071119 (28 Nov 2007)
+
+ 28 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +liborigin-20071119.ebuild:
+ Version bump
*liborigin-20070926 (04 Nov 2007)
diff --git a/sci-libs/liborigin/files/digest-liborigin-20071119 b/sci-libs/liborigin/files/digest-liborigin-20071119
new file mode 100644
index 000000000000..60539b6fff6c
--- /dev/null
+++ b/sci-libs/liborigin/files/digest-liborigin-20071119
@@ -0,0 +1,3 @@
+MD5 ba5f2a1ee31089f78c2661e5ce4a3c54 liborigin-20071119.tar.gz 47831
+RMD160 ee59e998657e4c670c368f0a6c75e8afe4a48a4d liborigin-20071119.tar.gz 47831
+SHA256 ce63600265ad46857fe12f0f66121dc15a60db55df3bd659f6a12996195d5710 liborigin-20071119.tar.gz 47831
diff --git a/sci-libs/liborigin/liborigin-20071119.ebuild b/sci-libs/liborigin/liborigin-20071119.ebuild
new file mode 100644
index 000000000000..b2046508518a
--- /dev/null
+++ b/sci-libs/liborigin/liborigin-20071119.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-20071119.ebuild,v 1.1 2007/11/28 22:49:44 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"
+}