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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/Attic/pymmlib-0.9.7.ebuild,v 1.5 2007/07/22 07:01:45 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/Attic/pymmlib-0.9.7.ebuild,v 1.6 2008/05/29 17:54:58 hawking Exp $
4 4
5inherit python 5inherit python multilib
6 6
7DESCRIPTION="Software toolkit and library of routines for the analysis and manipulation of macromolecular structural models" 7DESCRIPTION="Software toolkit and library of routines for the analysis and manipulation of macromolecular structural models"
8HOMEPAGE="http://pymmlib.sourceforge.net/" 8HOMEPAGE="http://pymmlib.sourceforge.net/"
9SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz" 9SRC_URI="mirror://sourceforge/pymmlib/${P}.tar.gz"
10LICENSE="Artistic" 10LICENSE="Artistic"
23 python setup.py build || die "build failed" 23 python setup.py build || die "build failed"
24} 24}
25 25
26src_install() { 26src_install() {
27 python setup.py install --prefix="${D}/usr" || die "install failed" 27 python setup.py install --prefix="${D}/usr" || die "install failed"
28 dobin ${S}/applications/* ${S}/examples/* 28 dobin "${S}"/applications/* "${S}"/examples/*
29 dodoc ${S}/README.txt 29 dodoc "${S}"/README.txt
30 dohtml -r ${S}/doc 30 dohtml -r "${S}"/doc
31} 31}
32 32
33pkg_postinst() { 33pkg_postinst() {
34 python_version
34 python_mod_optimize ${ROOT}lib/python2.4/site-packages/mmLib 35 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/mmLib
35} 36}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20