summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/fusion-icon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/fusion-icon/debian/rules')
-rwxr-xr-xubuntu/precise/applications/fusion-icon/debian/rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/fusion-icon/debian/rules b/ubuntu/precise/applications/fusion-icon/debian/rules
new file mode 100755
index 000000000..5d3ed1e14
--- /dev/null
+++ b/ubuntu/precise/applications/fusion-icon/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+# include /usr/share/cdbs/1/class/python-distutils.mk
+include debian/python-distutils-custom.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+binary-install/fusion-icon-trinity::
+ mkdir -p debian/fusion-icon-trinity/usr/local/lib
+ cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/
+ rm -rf debian/fusion-icon-trinity/usr/local
+ mkdir -p debian/fusion-icon-trinity/opt/trinity
+ cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
+ rm -rf debian/fusion-icon-trinity/usr
+ dh_pycentral -pfusion-icon-trinity
+ dh_icons