Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2006-05-06 20:28:04 +0400
committerYann Leboulanger <asterix@lagaule.org>2006-05-06 20:28:04 +0400
commit794023af0ff4b42ae8d6346761852f98607fd38f (patch)
treeadb3ae993cfbf67ffb2d1ee5d369760e6ff5d91e /debian/rules
parent032786bf47dc247caa9fb304fbc5bb72b687bce7 (diff)
build debian package with python2.4
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 1c6a8ccf8..8af1b51de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,12 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
-PYTHONVER = `python -c 'import sys; print sys.version[:3]'`
+PYTHON = python2.4
+PYTHONVER = 2.4
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I.
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
-DEB_MAKE_BUILD_TARGET := all
+DEB_MAKE_BUILD_TARGET := all PYTHON=python2.4
DEB_MAKE_INSTALL_TARGET = install PYTHON=python2.4 PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
binary-install/gajim::