/[gentoo-x86]/sci-libs/ccpn-data/ccpn-data-2.2.1.ebuild
Gentoo

Contents of /sci-libs/ccpn-data/ccpn-data-2.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 3 14:44:43 2012 UTC (8 years, 7 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
sci-libs/ccpn-data: Version Bump, cleaned old

(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.1.ebuild,v 1.2 2011/04/01 10:29:45 jlec Exp $
4
5 EAPI="3"
6
7 inherit portability versionator
8
9 MY_PN="${PN/-data}mr"
10 MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
11
12 DESCRIPTION="The Collaborative Computing Project for NMR - Data"
13 HOMEPAGE="http://www.ccpn.ac.uk/ccpn"
14 SRC_URI="http://www.bio.cam.ac.uk/ccpn/download/${MY_PN}/analysis${MY_PV}.tar.gz"
15
16 SLOT="0"
17 LICENSE="|| ( CCPN LGPL-2.1 )"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE=""
20
21 RDEPEND="!<sci-chemistry/ccpn-${PV}"
22 DEPEND=""
23
24 RESTRICT="binchecks strip"
25
26 S="${WORKDIR}"/ccpnmr/ccpnmr2.2
27
28 src_install() {
29 dodir /usr/share/doc/${PF}/html
30 sed \
31 -e "s:../ccpnmr2.1:${EPREFIX}/usr/share/doc/${PF}/html:g" \
32 ../doc/index.html > "${ED}"/usr/share/doc/${PF}/html/index.html || die
33 treecopy $(find python/ -name doc -type d) "${ED}"/usr/share/doc/${PF}/html/
34 dohtml -r doc/* || die
35 insinto /usr/share/ccpn
36 doins -r data model || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20