diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild')
-rw-r--r-- | sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild b/sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild new file mode 100644 index 000000000000..2f63ea80bb45 --- /dev/null +++ b/sci-biology/dialign-tx/dialign-tx-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +MY_P=DIALIGN-TX_${PV} + +DESCRIPTION="Greedy and progressive approaches for segment-based multiple sequence alignment" +HOMEPAGE="http://dialign-tx.gobics.de/" +SRC_URI="http://dialign-tx.gobics.de/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" \ + -i source/Makefile || die #336533 + epatch "${FILESDIR}"/${P}-implicits.patch \ + "${FILESDIR}"/${P}-modernize.patch +} + +src_compile() { + emake -C source clean + emake -C source CC="$(tc-getCC)" \ + CPPFLAGS="" +} + +src_install() { + dobin "${S}"/source/dialign-tx + insinto /usr/$(get_libdir)/${PN}/conf + doins "${S}"/conf/* +} + +pkg_postinst() { + einfo "The configuration directory is" + einfo "${ROOT}usr/$(get_libdir)/${PN}/conf" + einfo "You will need to pass this to ${PN} on every run." +} |