setting up packages to autobuild on alpha
For those of you who maintain kde based packages for Debian this is for you.
alpha currently uses gcc2.9x by default. gcc3 is required to build the
kde packages so we have to do some magic to make sure that any joe blow
can apt-get source package and build it with no probs. Now, we can do this
all on the buildd side but then the buildd would be the only thing that
could build it...which really is alot of work for nothing if you ask me...so
we do it this way to make sure.
First you need to make sure you build-depend on g++-3.0 [alpha] so that
we are sure g++-3.0 is installed...I don't know if it's a default package or
not so it may not be needed...I put it there just in case since g++-3 is not
the default compiler yet...
Then in debian/rules you need to add this at the top somewhere:
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
then make your configure line look something like this:
if test ! -f configure; then \
$(MAKE) -f admin/Makefile.common ;\
./configure $(configkde) \
this at least works...if you have a cleaner solution let me know.
Ivan E. Moore II
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD