aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-19 04:21:28 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-08-19 04:21:28 +0000
commit1b584227d181dd710bf3505bbd334520c6454dc1 (patch)
treeaa5dd8a4f750dbbfd3879d0b7d6562c67674ad03 /debian/rules
parent56c3d92eeee1065ea40b64f9f4dcbed9845dd357 (diff)
debianized using library template
svn path=/trunk/externals/arraysize/; revision=13834
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3b5c9cf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = arraysize
+PACKAGE = pd-$(LIBRARY_NAME)
+pkglibdir = /usr/lib/pd/extra
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
+
+override_dh_shlibdeps:
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+ -T$(CURDIR)/debian/$(PACKAGE).substvars
+