ipc_system_simple: cleanup, add tests

This commit is contained in:
Joachim Mairböck
2024-06-09 21:05:25 +02:00
parent a19b648c0a
commit 7ec0e33fc5

View File

@@ -5,7 +5,7 @@ do check it, producing a well-formatted error string takes a lot of work."
HOMEPAGE="https://metacpan.org/pod/IPC::System::Simple"
COPYRIGHT="2020 by Paul Fenwick"
LICENSE="Artistic"
REVISION="1"
REVISION="2"
SOURCE_URI="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-$portVersion.tar.gz"
CHECKSUM_SHA256="22e6f5222b505ee513058fdca35ab7a1eab80539b98e5ca4a923a70a8ae9ba9e"
SOURCE_DIR="IPC-System-Simple-$portVersion"
@@ -36,5 +36,15 @@ BUILD()
INSTALL()
{
make install DESTDIR="${DESTDIR}"
make pure_install
# remove architecture-specific files
cd $prefix
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
}
TEST()
{
make test
}