/[gentoo-x86]/sci-libs/pymmlib/pymmlib-0.9.7.ebuild
Gentoo

Contents of /sci-libs/pymmlib/pymmlib-0.9.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Nov 26 21:55:46 2009 UTC (10 years, 4 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Delete older ebuild.

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-0.9.7.ebuild,v 1.6 2008/05/29 17:54:58 hawking Exp $
4
5 inherit python multilib
6
7 DESCRIPTION="Software toolkit and library of routines for the analysis and manipulation of macromolecular structural models"
8 HOMEPAGE="http://pymmlib.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz"
10 LICENSE="Artistic"
11 SLOT="0"
12 KEYWORDS="~ppc ~x86"
13 IUSE=""
14 RDEPEND="virtual/glut
15 dev-python/pygtkglext
16 dev-python/numeric
17 virtual/opengl
18 virtual/glu
19 x11-libs/libXmu"
20 DEPEND="${RDEPEND}"
21
22 src_compile() {
23 python setup.py build || die "build failed"
24 }
25
26 src_install() {
27 python setup.py install --prefix="${D}/usr" || die "install failed"
28 dobin "${S}"/applications/* "${S}"/examples/*
29 dodoc "${S}"/README.txt
30 dohtml -r "${S}"/doc
31 }
32
33 pkg_postinst() {
34 python_version
35 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/mmLib
36 }

  ViewVC Help
Powered by ViewVC 1.1.20