diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild')
-rw-r--r-- | sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild new file mode 100644 index 000000000000..ce05c62326ea --- /dev/null +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools multilib-minimal + +DESCRIPTION="Library to query devices using IEEE1284" +HOMEPAGE="http://cyberelk.net/tim/software/libieee1284/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc static-libs" + +BDEPEND="doc? ( + app-text/docbook-sgml-utils + >=app-text/docbook-sgml-dtd-4.1 + app-text/docbook-dsssl-stylesheets + dev-perl/XML-RegExp + )" + +src_prepare() { + default + + mv configure.{in,ac} || die + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --enable-shared + --without-python + $(use_enable static-libs static) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + dodoc doc/interface* + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +} |