[Build-common-hackers] CDBS and multiple upstream tarballs in one orig tarball

Michael Koch konqueror@gmx.de
Wed, 24 Mar 2004 21:28:08 +0100

Hi list,

I need to repackage a debian package I maintain ("cyphesis-cpp"). I need=20
to include the upstream sources of two libs to build them statically=20
into cyphesis-cpp. These libs are old versions of libs that are already=20
in Debian Archive.

I put all three tarballs into the orig tarball. Then I used the=20
following debian/rules:

#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright =C2=A9 2004 Michael Koch <konqueror@gmx.de>

#DEB_TAR_SRCDIR :=3D skstream-0.2.5
#DEB_TAR_SRCDIR :=3D Altas-C++-0.4.6
DEB_TAR_SRCDIR :=3D cyphesis-0.2.4

include /usr/share/cdbs/1/rules/tarball.mk
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

#       -find $(CURDIR)/debian/tmp/usr/share/cyphesis/rulesets -type f |=20
xargs chmod a-x
$(CURDIR)/debian/cyphesis-cpp-mason/usr/share/cyphesis/rulesets -type f=20
| xargs chmod a-x
        -mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man6/
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20
        -cp $(CURDIR)/debian/cyphesis.6=20

DEB_CONFIGURE_EXTRA_FLAGS :=3D --localstatedir=3D/var/games

#DEB_DH_INSTALL_ARGS :=3D "--list-missing"

# Start after and stop before postgresql server.
DEB_UPDATE_RCD_PARAMS :=3D "start 30 2 3 4 5 . stop 10 0 1 6 ."

My problem is now that I dont get Atlas-C++ nor skstream to build within=20
CDBS. Can you give me some hints on this ? Or a pointer to an example ?

It would be nice too if I could patch the upstream sources too. I dont=20
got that working either but this has no high priority yet.


P.S.: Please CC me as I'm not subscribed to this list.