From dc05441b446aa4cf7e6eaa941c6dd623131bdcff Mon Sep 17 00:00:00 2001 From: LV-426 Date: Sun, 3 May 2015 16:51:39 +0300 Subject: deb-pkg, build.ant: introducing 'single' and 'mux' debian package variants Currently both share the same control script, generating a 'rhizi' named package --- res/debian/pkg__rhizi-common/rules | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 res/debian/pkg__rhizi-common/rules (limited to 'res/debian/pkg__rhizi-common/rules') diff --git a/res/debian/pkg__rhizi-common/rules b/res/debian/pkg__rhizi-common/rules new file mode 100755 index 00000000..e2a59841 --- /dev/null +++ b/res/debian/pkg__rhizi-common/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --prefix=/usr \ + --libdir=/usr/lib \ + --enable-python + +%: + dh $@ --with python2 + +override_dh_auto_configure: + dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) + +override_dh_auto_install: + dh_auto_install + + # TODO: support python setup.py install: + # python setup.py install --root=$(CURDIR)/debian/supybot --prefix=/usr $(py_setup_install_args) + +override_dh_python2: + dh_python2 \ + -p rhizi \ + --exclude=rhizi-server.py -- cgit v1.3.1