/[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.5 - (show annotations) (download)
Sun Jul 22 07:01:45 2007 UTC (12 years, 8 months ago) by dberkholz
Branch: MAIN
Changes since 1.4: +3 -3 lines
Drop virtual/x11 references.
(Portage version: 2.1.3_rc8)

1 # Copyright 1999-2007 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.4 2006/06/07 22:16:38 spyderous Exp $
4
5 inherit python
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_mod_optimize ${ROOT}lib/python2.4/site-packages/mmLib
35 }

  ViewVC Help
Powered by ViewVC 1.1.20