Check for other artifact types
@@ -26,9 +26,14 @@ requirements:
test:
commands:
- unrar
-
+ - test -f $PREFIX/lib/libunrar.so # [linux]
+ - test -f $PREFIX/lib/libunrar.dylib # [osx]
+ - if not exist %LIBRARY_LIB%\UnRAR.lib exit 1 # [win]
+ - if not exist %LIBRARY_BIN%\unrar.dll exit 1 # [win]
+ - test -f $PREFIX/include/unrar/headers.hpp # [unix]
+ - if not exist %LIBRARY_INC%\unrar\headers.hpp exit 1 # [win]
# CFEP-18
- - test ! -f ${PREFIX}/lib/libunrar.a # [unix]
+ - test -f ${PREFIX}/lib/libunrar.${DYLIB} # [unix]
about:
home: https://www.rarlab.com/
