run_parts: add recipe for 5.17 (#10370)

This commit is contained in:
augiedoggie
2024-04-23 20:53:35 -06:00
committed by GitHub
parent 04d280f2e0
commit eca94b8c0c

View File

@@ -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
}