tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Do not uncompress a distfile
21.05.2021 23:11:06 Brook Milligan <brook%nmsu.edu@localhost>:
> I am writing a package that distributes a set of distfiles that should only be copied to WRKSRC not uncompressed. Some of these are *.jar files, but some are *.gz files that would normally be uncompressed, which is incorrect.
What about this brute force approach?
do-extract:
cp ${DISTFILES:%=${_DISTDIR}/%} ${WRKDIR}/
Accessing the internal _DISTDIR is not elegant, but if this approach works, we can think of a more elegant variant afterwards.
Home |
Main Index |
Thread Index |
Old Index