aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 04:39:52 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 04:39:52 +0000
commit9d4ee7c75c8bd4c53600331fd55f2a3680135c3c (patch)
treea450f21545c3063f7fdd19875362c3161a0064dd /debian/rules
parentc67bde56d30140981d831fea3b691b3b508362b6 (diff)
setup mapping lib with template Makefile+debian stuff
svn path=/trunk/externals/mapping/; revision=13164
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..6441f96
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = mapping
+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
+