You are not logged in.

#1 2013-04-04 06:55:46

Registered: 2011-05-28
Posts: 27

Proper method to decompress files in ebuild

According to Gentoo developer guide, function 'unpack' is used for uncompreses files listed in SRC_URI into current directory. It seems unpack function could not handle other file uncompression if the file is included into the package. Now, I am trying to uncompress it by 'tar' command directly, like this:

src_prepare() {
	cd ${WORKDIR}
	for x in Faience Faience-Azur Faience-Claire Faience-Ocre; do
		tar xf "${x}".tar.gz

Instead of calling 'tar' directly, is there a proper method to do this in ebuild?


#2 2013-04-18 19:48:59

Core Team Member
From: Quebec city, Quebec, Canada
Registered: 2010-10-08
Posts: 511

Re: Proper method to decompress files in ebuild

Not to my knowledge... If you need to grab extra bits and extract them you can go that way.


Board footer

Powered by FluxBB