root/branches/gajim_0.11.1/debian/rules

Revision 7986, 0.8 kB (checked in by asterix, 19 months ago)

debian: use dh_pysupport instead of dh_pycentral

  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2DEB_PYTHON_SYSTEM=pysupport
3
4# Debhelper must be included before python-distutils to use
5# # # dh_python / dh_pycentral / dh_pysupport
6include /usr/share/cdbs/1/rules/debhelper.mk
7include /usr/share/cdbs/1/rules/simple-patchsys.mk
8include /usr/share/cdbs/1/class/autotools.mk
9
10PYTHONVER = 2.4
11DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr
12DEB_MAKE_BUILD_TARGET    := all PYTHON=python$(PYTHONVER)
13DEB_MAKE_INSTALL_TARGET = install PYTHON=python$(PYTHONVER) DESTDIR=$(DEB_DESTDIR)
14
15binary-install/gajim::
16        rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py
17        dh_pysupport -pgajim
18        convert $(DEB_DESTDIR)/usr/share/pixmaps/gajim.png -resize 32x32 $(DEB_DESTDIR)/usr/share/pixmaps/gajim.xpm
19        install -m 0644 debian/gajim.lintian $(DEB_DESTDIR)/usr/share/lintian/overrides/gajim
Note: See TracBrowser for help on using the browser.