aboutsummaryrefslogtreecommitdiff
path: root/nusmuk-audio/debian/rules
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2010-11-10 16:20:24 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2010-11-10 16:20:24 +0000
commit8f810d1daa5cbc9fb3bb7bcdcf5bf048ca644e5b (patch)
treeafacba9868db055bd6794d77d361a6d48c63c299 /nusmuk-audio/debian/rules
parent8f75adf8bcea9e8c52d07d11ac35b93a8bf8dd32 (diff)
svn path=/trunk/externals/nusmuk/; revision=14368
Diffstat (limited to 'nusmuk-audio/debian/rules')
-rwxr-xr-xnusmuk-audio/debian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/nusmuk-audio/debian/rules b/nusmuk-audio/debian/rules
new file mode 100755
index 0000000..fdd5b9c
--- /dev/null
+++ b/nusmuk-audio/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = nusmuk-audio
+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