# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/dialign-t/dialign-t-0.2.2.ebuild,v 1.1 2007/07/12 16:23:23 je_fro Exp $ inherit multilib toolchain-funcs MY_P="DIALIGN-T_${PV}" DESCRIPTION="An improved algorithm for segment-based multiple sequence alignment" HOMEPAGE="http://dialign-t.gobics.de/" SRC_URI="http://dialign-t.gobics.de/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" src_compile() { cd ${S}/source emake clean emake \ CPPFLAGS="${CFLAGS}" \ || die "make failed" } src_install() { DESTTREE="/usr" dobin ${S}/source/dialign-t dohtml ${S}/doc/html/* dodoc ${S}/doc/user_guide* insinto /usr/$(get_libdir)/${PN}/conf doins ${S}/conf/* } pkg_postinst() { ewarn "The configuration directory is" ewarn "${ROOT}usr/$(get_libdir)/${PN}/conf" ewarn "You will need to pass this to ${PN} on every run." }