From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- net-misc/dcetest/dcetest-2.0.ebuild | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'net-misc/dcetest/dcetest-2.0.ebuild') diff --git a/net-misc/dcetest/dcetest-2.0.ebuild b/net-misc/dcetest/dcetest-2.0.ebuild index b88a73a876f2..b0b822c166a4 100644 --- a/net-misc/dcetest/dcetest-2.0.ebuild +++ b/net-misc/dcetest/dcetest-2.0.ebuild @@ -1,32 +1,27 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="dcetest is a clone of the Windows rpcinfo" HOMEPAGE="http://www.atstake.com/research/tools/info_gathering/" -SRC_URI="http://www.atstake.com/research/tools/info_gathering/dcetest.tar" +SRC_URI="mirror://gentoo/${PN}.tar -> ${P}.tar" + LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc x86" -IUSE="" -DEPEND="sys-apps/sed" -RDEPEND="" -S=${WORKDIR}/${PN} -src_unpack() { - unpack ${A} - cd "${S}" - # cleanup the makefile a little - sed -e '/^CC/d' -i Makefile - sed -e 's/CFLAGS.*/CFLAGS += -Wall -funsigned-char -fPIC/g' -i Makefile -} +S="${WORKDIR}/${PN}" +PATCHES=( "${FILESDIR}"/${PN}-2.0-fix-build-system.patch ) -src_compile() { - emake || die +src_configure() { + tc-export CC + append-cflags -funsigned-char -Wall } src_install() { - dobin dcetest || die + dobin dcetest dodoc CHANGELOG README VERSION nt4sp6adefault.txt out out.txt out2.txt w2ksp0.txt } -- cgit v1.2.3