From afcf976f279cda819420dc8e10e922cf9a492062 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 21 Apr 2015 23:30:02 +0300 Subject: wip: debian packaging --- res/debian/rules | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 res/debian/rules (limited to 'res/debian/rules') diff --git a/res/debian/rules b/res/debian/rules new file mode 100755 index 00000000..e2a59841 --- /dev/null +++ b/res/debian/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