mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
33 lines
713 B
Bash
33 lines
713 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
DESCRIPTION="EB is a C library and utilities for accessing CD-ROM books"
|
|
HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/eb/"
|
|
SRC_URI="ftp://ftp.sra.co.jp/pub/misc/eb/${P}.tar.lzma"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
|
|
IUSE="ipv6 nls threads"
|
|
|
|
RDEPEND="
|
|
sys-libs/zlib
|
|
nls? ( virtual/libintl )
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
nls? ( sys-devel/gettext )
|
|
"
|
|
|
|
DOCS=( AUTHORS ChangeLog{,.0,.1,.2} NEWS README )
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable ipv6) \
|
|
$(use_enable nls) \
|
|
$(use_enable threads pthread) \
|
|
--with-pkgdocdir=/usr/share/doc/${PF}/html
|
|
}
|