From eca94b8c0cce2f8a6c1e04f3afbb7b6c91403818 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Tue, 23 Apr 2024 20:53:35 -0600 Subject: [PATCH] run_parts: add recipe for 5.17 (#10370) --- sys-apps/run_parts/run_parts-5.17.recipe | 63 ++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 sys-apps/run_parts/run_parts-5.17.recipe diff --git a/sys-apps/run_parts/run_parts-5.17.recipe b/sys-apps/run_parts/run_parts-5.17.recipe new file mode 100644 index 000000000..d3f31320c --- /dev/null +++ b/sys-apps/run_parts/run_parts-5.17.recipe @@ -0,0 +1,63 @@ +SUMMARY="A command line tool to run scripts or programs in a directory" +DESCRIPTION="The run-parts command runs all of the executable files within a directory \ +sequentially according to the sorting and filtering options given on the command line." +HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html" +COPYRIGHT=" + 1994 Ian Jackson. + 1996 Jeff Noxon + 1996-1999 Guy Maor + 2002-2020 Clint Adams + " +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://deb.debian.org/debian/pool/main/d/debianutils/debianutils_$portVersion.tar.xz" +CHECKSUM_SHA256="367654878388f532cd8a897fe64766e2d57ae4c60da1d4d8f20dcdf2fb0cbde8" +SOURCE_DIR="debianutils-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + run_parts$secondaryArchSuffix = $portVersion + cmd:run_parts = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:autoreconf + cmd:gawk + cmd:make + cmd:gcc$secondaryArchSuffix + " + +PATCH() +{ + # Disable po4a translations of the man pages for now + sed -i -e 's,po4a,,' Makefile.am +} + +BUILD() +{ + autoreconf -vfi + + runConfigure ./configure + + make $jobArgs run-parts +} + +INSTALL() +{ + mkdir -pv $prefix/bin + cp -afv run-parts $prefix/bin + + mkdir -pv $manDir/man8 + cp -afv run-parts.8 $manDir/man8 +}