You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-doc/autobook/autobook-1.5.ebuild

34 lines
834 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
DESCRIPTION="GNU Autoconf, Automake and Libtool"
HOMEPAGE="https://sourceware.org/autobook/"
SRC_URI="https://sourceware.org/autobook/${P}.tar.gz
examples? (
https://sourceware.org/autobook/foonly-2.0.tar.gz
https://sourceware.org/autobook/small-2.0.tar.gz
https://sourceware.org/autobook/hello-2.0.tar.gz
https://sourceware.org/autobook/convenience-2.0.tar.gz
)"
LICENSE="OPL"
SLOT="0"
KEYWORDS="amd64 arm hppa ia64 m68k ppc s390 sh x86"
IUSE="examples"
DEPEND=""
RDEPEND=""
src_install() {
dohtml * || die
if use examples ; then
local d
for d in {convenience,foonly,hello,small}-2.0 ; do
insinto /usr/share/doc/${PF}/${d}
doins -r "${WORKDIR}"/${d}/* || die "doins ${d} failed"
done
fi
}