diff options
author | 2024-06-02 00:18:24 +0100 | |
---|---|---|
committer | 2024-06-02 00:19:09 +0100 | |
commit | 7955b031affbce3bce05db8f44802c37a34c6c46 (patch) | |
tree | cd6674e51b4a2868c202437e4d3f08e11d86d0c3 /sci-biology | |
parent | sci-biology/ucsc-genome-browser: fix USE=-server (diff) | |
download | gentoo-7955b031affbce3bce05db8f44802c37a34c6c46.tar.gz gentoo-7955b031affbce3bce05db8f44802c37a34c6c46.tar.bz2 gentoo-7955b031affbce3bce05db8f44802c37a34c6c46.zip |
sci-biology/ucsc-genome-browser: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r2.ebuild (renamed from sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild) | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r2.ebuild index 2219008438c1..769a4481eeee 100644 --- a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild +++ b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r2.ebuild @@ -1,34 +1,33 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 +WEBAPP_MANUAL_SLOT="yes" +# TODO: use WEBAPP_OPTIONAL? 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" +S="${WORKDIR}/kent" LICENSE="blat" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+mysql +server static-libs" - REQUIRED_USE="server? ( mysql )" -WEBAPP_MANUAL_SLOT="yes" - # TODO: test with other webservers RDEPEND=" - dev-libs/openssl:0= - media-libs/libpng:0= + dev-libs/openssl:= + media-libs/libpng:= !<sci-biology/ucsc-genome-browser-223 - mysql? ( dev-db/mysql-connector-c:0= ) + mysql? ( dev-db/mysql-connector-c:= ) server? ( virtual/httpd-cgi ) " -DEPEND="${RDEPEND} app-arch/unzip" - -S="${WORKDIR}/kent" +DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip" pkg_setup() { use server && webapp_pkg_setup @@ -72,10 +71,9 @@ src_compile() { export MYSQLLIBS="none" MYSQLINC="none" DOCUMENTROOT="none" CGI_BIN="none" - # TODO: Change ${EPREFIX} to ${ESYSROOT} in EAPI 7 - # (and ideally use pkg-config here) - use mysql && export MYSQLLIBS="-L${EPREFIX%/}/usr/$(get_libdir)/mysql/ -lmysqlclient -lz -lssl" \ - MYSQLINC="${EPREFIX%/}/usr/include/mysql" + # TODO: use pkg-config here + use mysql && export MYSQLLIBS="-L${ESYSROOT}/usr/$(get_libdir)/mysql/ -lmysqlclient -lz -lssl" \ + MYSQLINC="${ESYSROOT}/usr/include/mysql" use server && export DOCUMENTROOT="${WORKDIR}/destdir/${MY_HTDOCSDIR}" \ CGI_BIN="${WORKDIR}/destdir/${MY_HTDOCSDIR}/cgi-bin" |