diff options
-rw-r--r-- | dev-libs/libdnet/libdnet-1.14-r2.ebuild (renamed from dev-libs/libdnet/libdnet-9999.ebuild) | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/libdnet/libdnet-9999.ebuild b/dev-libs/libdnet/libdnet-1.14-r2.ebuild index c1471b35968c..068ca755f136 100644 --- a/dev-libs/libdnet/libdnet-9999.ebuild +++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild @@ -5,17 +5,16 @@ EAPI=7 AT_M4DIR="config" PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_OPTIONAL=1 -inherit autotools distutils-r1 git-r3 +inherit autotools distutils-r1 DESCRIPTION="simplified, portable interface to several low-level networking routines" HOMEPAGE="https://github.com/ofalk/libdnet" -EGIT_REPO_URI="https://github.com/ofalk/libdnet" -EGIT_BRANCH="devel" +SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="" -IUSE="python static-libs test" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="python test" DEPEND=" python? ( ${PYTHON_DEPS} ) @@ -23,11 +22,18 @@ DEPEND=" RDEPEND=" ${DEPEND} " +BDEPEND=" + python? ( + dev-python/cython[${PYTHON_USEDEP}] + ) +" RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -DOCS=( README.md THANKS TODO ) +DOCS=( README.md THANKS ) +S="${WORKDIR}/${PN}-${P}" PATCHES=( - "${FILESDIR}"/${PN}-1.14-strlcpy.patch + "${FILESDIR}/${PN}-1.14-ndisc.patch" + "${FILESDIR}/${PN}-1.14-strlcpy.patch" ) src_prepare() { @@ -53,9 +59,7 @@ src_prepare() { } src_configure() { - econf \ - $(use_with python) \ - $(use_enable static-libs static) + econf --disable-static $(use_with python) } src_compile() { |