diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-02-09 15:03:19 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-02-09 15:03:19 +0100 |
commit | 0c03290690e3de9cb2ad4c093abb9765ada1cf4d (patch) | |
tree | 4f4ad79740e32aac9ac39c35e36707684afd4927 /sys-devel/bmake | |
parent | media-video/dvdstyler: Bump to 3.0.3 (diff) | |
download | gentoo-0c03290690e3de9cb2ad4c093abb9765ada1cf4d.tar.gz gentoo-0c03290690e3de9cb2ad4c093abb9765ada1cf4d.tar.bz2 gentoo-0c03290690e3de9cb2ad4c093abb9765ada1cf4d.zip |
sys-devel/bmake: Bump to 20170201
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r-- | sys-devel/bmake/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/bmake/bmake-20170201.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest index 957a06bf9cf7..28014cbef125 100644 --- a/sys-devel/bmake/Manifest +++ b/sys-devel/bmake/Manifest @@ -1,4 +1,5 @@ DIST bmake-20160926.tar.gz 544748 SHA256 5859a7c988936f605120ad3ad127a7c116269d92dd45b559f143f3ee7addba11 SHA512 38c9f928d9178404b9cb32c78cc2317e0947e0a23631e8c416f7ec35523c3e75ab324651204ebdc1928653927f8aa990a5aa75ce48d35184f7392195402ad2a7 WHIRLPOOL 194f40525f99cb2fa2738526fb2300bd2a80f25bc74a073837b42287abeebb9369e7d0121c940675ea160df192eab2f9a7909fd20e5b8628a4ca2fd3a6638dde DIST bmake-20161126.tar.gz 545726 SHA256 1efd12863dc91971ca6d497eea0671cdd36815111403a9123a070869563fbf14 SHA512 1bae26cb9339f6da5bf66d26de81f864fb2b58653cd1e39030fb7c0f426dab115235f1babf24c85501457b08dcaf581b6778071edba552113611d336e5aa47ab WHIRLPOOL 96fd71323c66457933d4c5281db1360279f2978006f3d2c240b70e7aa66589117c27f5dc3c5bcffd6d1b4f7f884d61e425c520f0c5662069ff919d8320809e0c DIST bmake-20161212.tar.gz 546196 SHA256 4579f320c2e97ee544edbc540796dc7f21ebb5ad91195ed36e29cf87c45c0816 SHA512 2510322d0d91fd6b1d9d449ea793f438eae603638df7534f57083fc9d631f8ff3019322576fdb2c6deeaa9b798b6df9b1db3d6de19e8ce14210d2f8882d4cb4d WHIRLPOOL 07647aa9be377643a497a2313ba559ee779540e84f75ecdfd3c728f2f1625b70f1cefc8a46a8e7e576dd69425fdcdc2c4da1dbbde88489586f4fd40cd15dfd2d +DIST bmake-20170201.tar.gz 548625 SHA256 fa0b70af31101b78e7c2557f16455bd6d383f53edb03ebec66b9c715530d2373 SHA512 bf45d4b9f894ee7399de181022b0a46db6fc1327346ab56134173eb0f5277dd9a252ecdcb34173f145ed4eea7018f8b7ef11ad9d8ef6b9ffb534fbb3b2c23b01 WHIRLPOOL 1cd58230ea4079abbfc2489867525d55e467c5083dc5497b2af3291e51f6b9811f5b06e7eb8717da4c1ddedc00e47245502be117557f5fa0082b9ccda13fc4ed DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa diff --git a/sys-devel/bmake/bmake-20170201.ebuild b/sys-devel/bmake/bmake-20170201.ebuild new file mode 100644 index 000000000000..7633050411a8 --- /dev/null +++ b/sys-devel/bmake/bmake-20170201.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MK_VER=20151111 +DESCRIPTION="NetBSD's portable make" +HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html" +SRC_URI="http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz + http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +S="${WORKDIR}/${PN}" + +src_configure() { + econf \ + --with-mksrc=../mk \ + --with-default-sys-path="${EPREFIX}"/usr/share/mk/${PN} \ + --with-machine_arch=${ARCH} +} + +src_compile() { + sh make-bootstrap.sh || die "bootstrap failed" +} + +src_test() { + cd unit-tests || die + LC_ALL=C env -u A ${S}/bmake -r -m . > test.out 2>&1 \ + || die "tests compilation failed" + sed -i \ + -e "s:${S}/::g" \ + -e "s:bmake\\[.\\]:make:g" \ + -e "s:unit-tests/::g" \ + test.out || die "Fixing values failed" + diff -u test.exp test.out + [[ $(diff -u test.exp test.out |wc -l) -gt 0 ]] && die "tests differ" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + FORCE_BSD_MK=1 SYS_MK_DIR=. \ + sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \ + || die "failed to install mk files" +} |