2006-08-23 Roland Levillain <roland(a)lrde.epita.fr>
Adjust and clean up the configuration of packages.
* buildfarm_worker/package.fns (conf_c-tools, conf_cxx-tools):
Add configure flags to find generic-tools.
(conf_transformers): Remove useless dependencies.
(conf_bison): Remove.
(conf_monoburg, conf_vaucanson, conf_vaucanson-gcc4_0): Query
Bison, SWIG and Python for their version numbers.
Index: buildfarm_worker/package.fns
===================================================================
--- buildfarm_worker/package.fns (revision 298)
+++ buildfarm_worker/package.fns (revision 299)
@@ -12,9 +12,9 @@
#############################
# per package configuration
-#
-# Transformers.
-#
+# -------------- #
+# Transformers. #
+# -------------- #
conf_generic-tools() {
# no_separate_build=true
@@ -22,21 +22,23 @@
conf_c-tools() {
deps="generic-tools"
+
self_config="--with-generic-tools-xtc=$prefix_root/generic-tools/share/transformers-generic-tools/XTC"
}
conf_cxx-tools() {
deps="generic-tools"
+
self_config="--with-generic-tools-xtc=$prefix_root/generic-tools/share/transformers-generic-tools/XTC"
}
# THE golden target :)
conf_transformers() {
- deps="generic-tools c-tools cxx-tools"
}
-#
-# tiger
-#
+# ------- #
+# Tiger. #
+# ------- #
+
conf_havm() {
prg_version="ghc --version"
}
@@ -46,6 +48,7 @@
}
conf_monoburg() {
+ prg_version="bison --version:python -V"
PATH="$prefix_root/monoburg/bin:$PATH"
}
@@ -53,10 +56,6 @@
prg_version="swig -version:python -V"
}
-conf_bison() {
- PATH="$prefix_root/bison/bin:$PATH"
-}
-
conf_tc-maintainer() {
deps="monoburg"
prg_version="bison --version:swig -version:python -V:tc --version"
@@ -71,12 +70,19 @@
distcheck_config="$self_config"
}
-# vaucanson
+
+# ----------- #
+# Vaucanson. #
+# ----------- #
+
conf_vaucanson() {
+ prg_version="swig -version:python -V"
self_config="--enable-vaucanswig"
distcheck_config="$self_config"
}
+
conf_vaucanson-gcc4_0() {
+ prg_version="swig -version:python -V"
self_config="--enable-vaucanswig"
distcheck_config="$self_config"
}
Show replies by date