build debian package with python2.4
This commit is contained in:
parent
032786bf47
commit
794023af0f
1 changed files with 3 additions and 2 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -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/class/makefile.mk
|
||||||
include /usr/share/cdbs/1/rules/simple-patchsys.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.
|
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`
|
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)
|
DEB_MAKE_INSTALL_TARGET = install PYTHON=python2.4 PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
|
||||||
|
|
||||||
binary-install/gajim::
|
binary-install/gajim::
|
||||||
|
|
Loading…
Add table
Reference in a new issue