[SCM] Packaging for getfem++ branch, master, updated. e9bb94d4fac4f49219f2c55fc12be7c841469c95
Anton Gladky
gladky.anton at gmail.com
Fri Jan 27 21:34:55 UTC 2012
The following commit has been merged in the master branch:
commit e9bb94d4fac4f49219f2c55fc12be7c841469c95
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Fri Jan 27 22:34:42 2012 +0100
Minor changes in debian/rules.
diff --git a/debian/rules b/debian/rules
index a1d8dae..2a63f96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,15 +13,20 @@ else
CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
-
-PYVERS=$(shell pyversions -vr)
+export CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
+export CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
+export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
configure_flags= $(CROSS) --prefix=/usr \
--enable-boost --enable-shared --with-pic \
--enable-python --enable-muparser \
--disable-matlab --disable-superlu \
--with-mumps="-lsmumps_seq -ldmumps_seq -lcmumps_seq -lzmumps_seq -lpord_seq" \
- CFLAGS="$(CFLAGS)"
+ CFLAGS="$(CFLAGS)" \
+ CXXFLAGS="$(CXXFLAGS)" \
+ CPPFLAGS="$(CPPFLAGS)" \
+ LDFLAGS="$(LDFLAGS)"
disable_scilab_archs = mips kfreebsd-amd64 kfreebsd-i386
ifneq (,$(filter $(DEB_HOST_ARCH), $(disable_scilab_archs)))
@@ -56,7 +61,7 @@ override_dh_auto_build:
mkdir -p $(CURDIR)/debian/tmp/usr/lib/scilab-getfem++/
override_dh_auto_install:
- dh_auto_install --list-missing -- DESTDIR=$(CURDIR)/debian/tmp
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/tmp
# Workaround for the other archs without scilab getfem++
mkdir -p $(CURDIR)/debian/tmp/usr/lib/scilab-getfem++/
mkdir -p $(CURDIR)/debian/scilab-getfem++/usr/share/scilab/contrib/
@@ -64,6 +69,9 @@ override_dh_auto_install:
rm -f scilab-getfem++; \
ln -s ../../../lib/scilab-getfem++/ getfem++
+override_dh_install:
+ dh_install --list-missing
+
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
@@ -75,3 +83,6 @@ override_dh_pysupport-arch:
override_dh_auto_test:
dh_auto_test || true
+
+override_dh_python2:
+ dh_python2 --no-guessing-versions
--
Packaging for getfem++
More information about the debian-science-commits
mailing list