2017-12-08 08:49:21 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
DESCRIPTION="A collection of useful BSD APIs"
|
|
|
|
HOMEPAGE="https://github.com/troglobit/libite"
|
|
|
|
SRC_URI="https://github.com/troglobit/libite/releases/download/v${PV}/${P}.tar.xz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="static-libs"
|
|
|
|
|
2017-12-09 21:42:21 +03:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}-fix-which-path.patch
|
|
|
|
"${FILESDIR}"/${P}-fix-path.patch
|
|
|
|
)
|
|
|
|
|
2017-12-08 08:49:21 +03:00
|
|
|
src_configure(){
|
|
|
|
econf --enable-static=$(usex static-libs)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install(){
|
|
|
|
default
|
|
|
|
find "${D}" -name '*.la' -delete || die
|
|
|
|
rm "${D}/usr/share/doc/${PF}/LICENSE" || die
|
|
|
|
}
|