2004-12-19 19:17:29 +00:00
|
|
|
#!/usr/bin/make -f
|
2006-10-11 21:10:06 +00:00
|
|
|
DEB_PYTHON_SYSTEM=pysupport
|
|
|
|
|
|
|
|
# Debhelper must be included before python-distutils to use
|
|
|
|
# # # dh_python / dh_pycentral / dh_pysupport
|
2005-07-01 16:24:29 +00:00
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
2005-07-01 16:59:51 +00:00
|
|
|
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
2006-10-11 21:10:06 +00:00
|
|
|
include /usr/share/cdbs/1/class/autotools.mk
|
2004-12-19 19:17:29 +00:00
|
|
|
|
2008-12-17 09:30:11 +00:00
|
|
|
PYTHONVER = 2.5
|
2006-10-11 21:10:06 +00:00
|
|
|
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr
|
|
|
|
DEB_MAKE_BUILD_TARGET := all PYTHON=python$(PYTHONVER)
|
|
|
|
DEB_MAKE_INSTALL_TARGET = install PYTHON=python$(PYTHONVER) DESTDIR=$(DEB_DESTDIR)
|
2004-12-19 19:17:29 +00:00
|
|
|
|
2005-07-01 16:59:51 +00:00
|
|
|
binary-install/gajim::
|
2008-03-23 11:06:51 +00:00
|
|
|
rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py*
|
2007-02-15 21:58:10 +00:00
|
|
|
dh_pysupport -pgajim
|
2007-01-03 10:35:13 +00:00
|
|
|
convert $(DEB_DESTDIR)/usr/share/pixmaps/gajim.png -resize 32x32 $(DEB_DESTDIR)/usr/share/pixmaps/gajim.xpm
|
|
|
|
install -m 0644 debian/gajim.lintian $(DEB_DESTDIR)/usr/share/lintian/overrides/gajim
|