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/net-libs/enet/enet-1.3.7.ebuild

33 lines
680 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit base
DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP"
HOMEPAGE="http://enet.bespin.org/"
SRC_URI="http://enet.bespin.org/download/${P}.tar.gz"
LICENSE="MIT"
SLOT="1.3/2.2"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="static-libs"
RDEPEND="!${CATEGORY}/${PN}:0"
DOCS=( "ChangeLog" "README" )
src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable static-libs static)
}
src_install() {
base_src_install
if ! use static-libs ; then
find "${D}" -type f -name '*.la' -exec rm {} + || die
fi
}