diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2008-02-12 19:08:50 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2008-02-12 19:08:50 +0000 |
commit | 47986d6a88711ea8f7861188e6a39c961ddbae09 (patch) | |
tree | 13d604eedee97b1675f11283a025fbd94bdb11aa /sci-biology/seaview/seaview-20071113.ebuild | |
parent | old (diff) | |
download | gentoo-2-47986d6a88711ea8f7861188e6a39c961ddbae09.tar.gz gentoo-2-47986d6a88711ea8f7861188e6a39c961ddbae09.tar.bz2 gentoo-2-47986d6a88711ea8f7861188e6a39c961ddbae09.zip |
Changed version scheme. Fixed PDFlib dependency (bug #208334). Commiting straight to stable since it is the same as 2.2.
(Portage version: 2.1.3.19, RepoMan options: --force)
Diffstat (limited to 'sci-biology/seaview/seaview-20071113.ebuild')
-rw-r--r-- | sci-biology/seaview/seaview-20071113.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sci-biology/seaview/seaview-20071113.ebuild b/sci-biology/seaview/seaview-20071113.ebuild new file mode 100644 index 000000000000..fb8770d2cf40 --- /dev/null +++ b/sci-biology/seaview/seaview-20071113.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v 1.1 2008/02/12 19:08:50 ribosome Exp $ + +inherit toolchain-funcs multilib + +DESCRIPTION="A graphical multiple sequence alignment editor" +HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html" + +MY_PF=${PF/-/_} +SRC_URI="mirror://gentoo.org/${P}.tar.gz" + +LICENSE="public-domain" + +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="x11-libs/fltk + sci-biology/clustalw + sci-biology/muscle" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Respect CXXFLAGS. Package uses CFLAGS as CXXFLAGS. + # Fix invocation of C++ compiler. + # Fix include and library paths. + sed -i \ + -e '/^FLTK/d' \ + -e '/^X11/d' \ + -e "s:^CXX.*:CXX = $(tc-getCXX):" \ + -e 's:-I$(FLTK):-I/usr/include/fltk-1.1:' \ + -e 's:-I$(X11)/include:-I/usr/include/X11R6:' \ + -e "s:\(^CFLAGS .*\):\1 ${CXXFLAGS}:" \ + -e "s:-L\$(FLTK)/lib:-L/usr/$(get_libdir)/fltk-1.1:" \ + -e "s:-L\$(X11)/lib:-L/usr/$(get_libdir)/X11:" \ + -e "s:^#HELP_NOT_IN_PATH:HELP_NOT_IN_PATH:" \ + -e "s:bge/mgouy:usr/share:" \ + Makefile || die "sed Makefile failed" +} + +src_install() { + dobin seaview seaview_align.sh + insinto /usr/share/${PN} + doins protein.mase seaview.help + + insinto /usr/share/pixmaps/ + doins "${S}/${PN}.xpm" + + insinto /usr/share/applications/ + doins "${FILESDIR}/${PN}.desktop" +} |