mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
ipc_system_simple: cleanup, add tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user