diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/liblist/liblist-2.4.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/liblist/liblist-2.4.ebuild')
-rw-r--r-- | dev-libs/liblist/liblist-2.4.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/liblist/liblist-2.4.ebuild b/dev-libs/liblist/liblist-2.4.ebuild new file mode 100644 index 000000000000..0133d56da438 --- /dev/null +++ b/dev-libs/liblist/liblist-2.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils multilib + +DESCRIPTION="Generic linked-list manipulation routines, plus queues and stacks" +HOMEPAGE="http://ohnopub.net/liblist" +SRC_URI="ftp://ohnopublishing.net/mirror/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux" +IUSE="doc examples static-libs" + +RDEPEND="doc? ( media-gfx/transfig + dev-texlive/texlive-metapost + virtual/latex-base )" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable doc docs) + $(use_enable examples) + ) + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + dodoc README + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/{*.c,Makefile,README} + insinto /usr/share/doc/${PF}/examples/cache + doins examples/cache/{*.c,README} + fi + + docompress -x /usr/share/doc/${PF}/{list.0,paper.dvi,examples} +} + +pkg_postinst() { + elog "Note that man pages for this package have been renamed to avoid" + elog "name collisions with some system functions. However, the libs" + elog "and header files have not been changed." + elog "The new names are liblist, lcache, liblist_queue, and liblist_stack." +} |