/[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.4 - (show annotations) (download)
Wed Jun 7 22:16:38 2006 UTC (13 years, 9 months ago) by spyderous
Branch: MAIN
Changes since 1.3: +2 -2 lines
Use dobin instead of doexe.
(Portage version: 2.1_rc4-r3)

1 # Copyright 1999-2006 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.3 2006/06/07 22:14:53 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 virtual/x11 )"
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