/[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.2 - (hide annotations) (download)
Sat Jan 7 08:15:40 2006 UTC (14 years, 3 months ago) by spyderous
Branch: MAIN
Changes since 1.1: +3 -0 lines
Also install applications, examples and docs.
(Portage version: 2.1_pre3-r1)

1 spyderous 1.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-chemistry/viewmol/viewmol-2.4.1.ebuild,v 1.2 2005/12/02 19:49:40 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="~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 spyderous 1.2 EXEDESTTREE="/usr/bin" doexe ${S}/applications/* ${S}/examples/*
29     dodoc ${S}/README.txt
30     dohtml -r ${S}/doc
31 spyderous 1.1 }
32    
33     pkg_postinst() {
34     python_mod_optimize ${ROOT}lib/python2.4/site-packages/mmLib
35     }

  ViewVC Help
Powered by ViewVC 1.1.20