# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260.ebuild,v 1.2 2015/04/17 06:21:51 jlec Exp $ EAPI=5 inherit toolchain-funcs flag-o-matic webapp DESCRIPTION="The UCSC genome browser suite, also known as Jim Kent's library and GoldenPath" HOMEPAGE="http://genome.ucsc.edu/" SRC_URI="http://hgdownload.cse.ucsc.edu/admin/jksrc.v${PV}.zip" LICENSE="blat" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+mysql +server static-libs" REQUIRED_USE="server? ( mysql )" WEBAPP_MANUAL_SLOT="yes" DEPEND=" app-arch/unzip ! "${S}/98${PN}" doenvd "${S}/98${PN}" use server && webapp_postinst_txt en src/product/README.QuickStart use server && webapp_src_install insinto "/usr/include/${PN}" doins src/inc/*.h insinto "/usr/share/${PN}" doins -r src/product keepdir "/usr/share/doc/${PF}" find -name 'README*' -or -name '*.doc' | grep -v test | cpio -padv "${ED}/usr/share/doc/${PF}" || die } pkg_postinst() { use server && webapp_pkg_postinst }