diff options
Diffstat (limited to 'net-misc/dcetest/dcetest-2.0.ebuild')
-rw-r--r-- | net-misc/dcetest/dcetest-2.0.ebuild | 29 |
1 files changed, 12 insertions, 17 deletions
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 } |