From f1063fc40b6d4cd3e3edce1cf621c114274d1867 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 31 Jan 2010 21:02:09 +0000 Subject: first working package, finding libc dep and all svn path=/trunk/externals/ext13/; revision=13122 --- Makefile | 2 +- debian/changelog | 2 +- debian/control | 2 +- debian/rules | 9 ++++++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 324b0d6..af90553 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # LIBRARY_NAME variable. The folder for your project should have the same name # as your library. LIBRARY_NAME = ext13 -LIBRARY_VERSION = 0.17.0 +LIBRARY_VERSION = 0.17 # Next, add your .c source files to the SOURCES variable. The help files will # be included automatically diff --git a/debian/changelog b/debian/changelog index 7666272..fc3784e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pd-ext13 (0.17.0-1.1) unstable; urgency=low +pd-ext13 (0.17-1.1) unstable; urgency=low * Initial release (Closes: #nnnn) diff --git a/debian/control b/debian/control index 2d861e4..d0ac6dc 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://puredata.info Package: pd-ext13 Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, pd Description: a collection of externals for pd this ist ext13, a collection of externals for pd most of the code comes from other pd-object or externals diff --git a/debian/rules b/debian/rules index ded37b7..9c2f3e7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,15 @@ #!/usr/bin/make -f + +LIBRARY_NAME = ext13 +PACKAGE = pd-$(LIBRARY_NAME) + %: dh $@ override_dh_auto_install: - make DESTDIR=$(CURDIR)/debian/tmp pkglibdir=/usr/lib/pd install + make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=/usr/lib/pd install +override_dh_shlibdeps: + dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)/usr/lib/pd/$(LIBRARY_NAME)/*.pd_linux \ + -T$(CURDIR)/debian/$(PACKAGE).substvars -- cgit v1.2.1