[Build-common-hackers] Re: CDBS and package built from multiple tarballs

Stefan Gybas sgybas@debian.org
Wed, 10 Sep 2003 18:51:01 +0200


Michael Koch wrote:

> - From what I saw in tarball.mk it supports only ONE tarball at all.

If does support multiple archives to unpakck, from taball.mk:

--- cut here ---

# The user developper may override this variable to choose which tarballs
# to unpack.

DEB_TARBALL ?= $(wildcard *.tgz *.tar.gz *.tar.bz *.tar.bz2 *.zip)

--- cut here ---

The problem is that you can only specify one directory in DEB_TAR_SRCDIR 
which is used in DEB_SRCDIR. So if you need to work in multiple 
directories from unpacked tarballs, you need to define them on your own, 
e.g. CONNECTORS_SRCDIR := 
$(_cdbs_tarball_dir)/jakarta-tomcat-connectors-4.1.27-src.

> Do you know a package using CDBS and having multiple upstream tarballs 
> in it that I can use as example ?

I'm currently working on one (tomcat4 4.1.27), it will be finished in a 
couple of days.

Stefan