diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-21 23:30:02 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-21 23:33:39 +0300 |
| commit | afcf976f279cda819420dc8e10e922cf9a492062 (patch) | |
| tree | 17ac831abaf7a01276c065e317199e7791f62743 /res/debian/rules | |
| parent | cbb6cf2a75bf4fc650f572e84e763e1fdd00239f (diff) | |
wip: debian packaging
Diffstat (limited to 'res/debian/rules')
| -rwxr-xr-x | res/debian/rules | 25 |
1 files changed, 25 insertions, 0 deletions
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 |
