app-emulation/libdsk: disable static libs

Closes: https://bugs.gentoo.org/726574
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-11-16 00:22:43 +01:00
committed by David Seifert
parent 8d8e8d3173
commit 934b4cf892

View File

@@ -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
}