diff options
Diffstat (limited to 'app-emulation/libdsk/libdsk-1.5.8.ebuild')
-rw-r--r-- | app-emulation/libdsk/libdsk-1.5.8.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/app-emulation/libdsk/libdsk-1.5.8.ebuild b/app-emulation/libdsk/libdsk-1.5.8.ebuild index e09295e8440b..2b4c246fa6d7 100644 --- a/app-emulation/libdsk/libdsk-1.5.8.ebuild +++ b/app-emulation/libdsk/libdsk-1.5.8.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="LIBDSK is a library for accessing discs and disc image files" HOMEPAGE="http://www.seasip.info/Unix/LibDsk/" @@ -12,12 +12,14 @@ SLOT="0" KEYWORDS="amd64" IUSE="doc" -src_prepare() { - eapply "${FILESDIR}"/${P}-include-sysmacros.patch - eapply_user +PATCHES=( "${FILESDIR}"/${P}-include-sysmacros.patch ) +DOCS=( doc/${PN}.{txt,pdf} ) + +src_configure() { + econf --disable-static } src_install() { - emake DESTDIR="${D}" install - DOCS="doc/${PN}.txt doc/${PN}.pdf" einstalldocs + default + find "${ED}" -name '*.la' -delete || die } |