summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild')
-rw-r--r--sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild b/sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild
new file mode 100644
index 000000000000..939443998241
--- /dev/null
+++ b/sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cifparse-obj/cifparse-obj-6.302.ebuild,v 1.1 2005/12/20 04:10:15 spyderous Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}-v${PV}-prod-src"
+DESCRIPTION="Provides an object-oriented application interface to information in mmCIF format"
+HOMEPAGE="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/index.html"
+SRC_URI="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/${MY_P}.tar.gz"
+LICENSE="PDB"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND=""
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/respect-flags-and-add-gcc4.patch
+ cd ${S}
+
+ sed -i \
+ -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \
+ ${S}/etc/make.*
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ dolib.a lib/*
+ insinto /usr/include/rcsb
+ doins include/*
+}