biology/star: Use EXTRACT_AFTER_ARGS to omit unused htslib dir

Reduces I/O during builds

PR:             278751
Reported by:    diizzy
main
Jason W. Bacon 2024-05-05 09:58:47 -05:00
parent 5d736fc85e
commit 94ae98221a
1 changed files with 2 additions and 1 deletions

View File

@ -26,13 +26,14 @@ USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= alexdobin
EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/source/htslib --no-same-owner --no-same-permissions
WRKSRC_SUBDIR= source
MAKE_FLAGS= HTSLIB='' CXXFLAGS_SIMD=""
PLIST_FILES= bin/STAR
post-patch:
${RM} -rf ${WRKSRC}/htslib
${REINPLACE_CMD} \
-e 's|"htslib/htslib/sam.h"|<htslib/sam.h>|g' \
-e 's|"htslib/htslib/kstring.h"|<htslib/kstring.h>|g' \