25 lines
538 B
Bash
25 lines
538 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
inherit eutils ltprune
|
|
|
|
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/7"
|
|
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
|
IUSE="static-libs"
|
|
|
|
RDEPEND="!${CATEGORY}/${PN}:0"
|
|
|
|
src_configure() {
|
|
econf $(use_enable static-libs static)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
prune_libtool_files
|
|
}
|