aboutsummaryrefslogtreecommitdiff
path: root/linear-cue-system/debian/rules
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2010-11-11 13:31:46 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2010-11-11 13:31:46 +0000
commit6dc017b6239f8313ffa177540567521f5c3e0bc5 (patch)
treefacdc7ec05a9a8227bf5c4cb0351ced8f5c104f1 /linear-cue-system/debian/rules
parentc56094323ba253fe948adb13ba3cb2ab0e29a952 (diff)
making linear cue system compatible with library template and debian template
svn path=/trunk/externals/nusmuk/; revision=14411
Diffstat (limited to 'linear-cue-system/debian/rules')
-rwxr-xr-xlinear-cue-system/debian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/linear-cue-system/debian/rules b/linear-cue-system/debian/rules
new file mode 100755
index 0000000..37e1e2a
--- /dev/null
+++ b/linear-cue-system/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = linear-cue-system
+PACKAGE = pd-$(LIBRARY_NAME)
+pkglibdir = /usr/lib/pd/extra
+
+%:
+ dh $@ --buildsystem=makefile
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+# replace license file with link to the Debian license file
+ rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
+
+override_dh_shlibdeps:
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+ -T$(CURDIR)/debian/$(PACKAGE).substvars