aboutsummaryrefslogtreecommitdiff
path: root/externals/extra/debian/rules
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-10 06:03:02 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-10 06:03:02 +0000
commit5af7081222ef801b23857fb904c78d0798f5d0df (patch)
tree68ac177c010b99c8eb837ea323c69cb541497148 /externals/extra/debian/rules
parentb77e38f5d194fb2ed72563d8ed20815d02a88efc (diff)
build Pd's extra as a libdir
svn path=/trunk/; revision=14694
Diffstat (limited to 'externals/extra/debian/rules')
-rwxr-xr-xexternals/extra/debian/rules15
1 files changed, 15 insertions, 0 deletions
diff --git a/externals/extra/debian/rules b/externals/extra/debian/rules
new file mode 100755
index 00000000..67fca227
--- /dev/null
+++ b/externals/extra/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = extra
+PACKAGE = pd-$(LIBRARY_NAME)
+pkglibdir = /usr/lib/pd/extra
+
+%:
+ dh $@ --buildsystem=makefile
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+
+override_dh_shlibdeps:
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+ -T$(CURDIR)/debian/$(PACKAGE).substvars