Subject: Re: proposal 3: flexible extract handling
To: Bernd Salbrechter <>
From: Todd Vierling <>
List: tech-pkg
Date: 05/27/1999 19:13:38
On Wed, 26 May 1999, Bernd Salbrechter wrote:

: > Each distfile listed in ${DISTFILES} will be extracted based on file
: > extension. will define the following (which may be expanded into
: > a larger list of extensions in a later draft of this proposal).

: Will be there a way to nail down the compression and extractions command?
: Because taking it from the suffix will be a problem in sources from
: news archives. I found some nice things there (i.e. recipes - a set of roff
: macros to write cooking recipes.)

If there's no actual extraction to be done, the file will be copied verbatim
to ${WRKDIR} unless it is excluded from EXTRACT_ONLY.

If it's an extension not supported by these rules, simply supply one, or
exclude the distfile from EXTRACT_ONLY and use post-extract.

: > EXTRACT_CMD.shar ?=	@DECOMPRESS@ | ${SH}
: Wouldn't it make sense to use the GNU sharutils,

Only in particular cases.  And for those, it may make better sense to use a
package-specdific `sed' expression.  (Because sharutils would otherwise be
Yet Another Thing to install in order to build packages.)

-- Todd Vierling (Personal; Bus.