summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/applications/fusion-icon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/raring/applications/fusion-icon/debian/rules')
-rwxr-xr-xubuntu/raring/applications/fusion-icon/debian/rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/ubuntu/raring/applications/fusion-icon/debian/rules b/ubuntu/raring/applications/fusion-icon/debian/rules
new file mode 100755
index 000000000..8c79610db
--- /dev/null
+++ b/ubuntu/raring/applications/fusion-icon/debian/rules
@@ -0,0 +1,21 @@
+#!/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
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+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