diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-12-21 21:11:50 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-12-21 21:11:50 +0000 |
commit | dcc0110de388ee98c9e51af79a3b6e2b38ef925a (patch) | |
tree | 2efe7b67aa26835898ea7a1a8d55aa229b9c344a /debian/rules | |
parent | e6be8d9a6d2e8be2d3ec6f652cf767a013b88106 (diff) |
rammed [hid] into the template Makefile and started debianizing
svn path=/trunk/externals/hid/; revision=14672
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0df191c --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +LIBRARY_NAME = hid +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 |