aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/debian/changelog2
-rw-r--r--externals/debian/control4
-rw-r--r--externals/debian/copyright8
-rwxr-xr-xexternals/debian/rules32
4 files changed, 29 insertions, 17 deletions
diff --git a/externals/debian/changelog b/externals/debian/changelog
index 98b62c3d..641d46cc 100644
--- a/externals/debian/changelog
+++ b/externals/debian/changelog
@@ -1,4 +1,4 @@
-pd-externals (0.6-1) unstable; urgency=low
+pd-externals (00.20030718-1) unstable; urgency=low
* new release, with cyclone
diff --git a/externals/debian/control b/externals/debian/control
index 938ef49e..71871695 100644
--- a/externals/debian/control
+++ b/externals/debian/control
@@ -1,9 +1,9 @@
Source: pd-externals
-Section: unknown
+Section: sound
Priority: optional
Maintainer: Guenter Geiger <geiger@debian.org>
Build-Depends: debhelper (>> 3.0.0), pd, libsndobj-dev
-Standards-Version: 3.5.2
+Standards-Version: 3.8.0
Package: pd-zexy
Architecture: any
diff --git a/externals/debian/copyright b/externals/debian/copyright
index 08295011..c5d55b0f 100644
--- a/externals/debian/copyright
+++ b/externals/debian/copyright
@@ -1,10 +1,10 @@
This package was debianized by Guenter Geiger <geiger@debian.org> on
Wed, 6 Nov 2002 12:38:33 +0100.
-It was downloaded from <pure-data.sf.net>
-
-Upstream Author(s): <several>
+Downloaded from <pure-data.sf.net>
Copyright:
-This is GPL.
+This software is distributed under the GPL version 2
+(see /usr/share/common-licenses/GPL-2).
+
diff --git a/externals/debian/rules b/externals/debian/rules
index 67f23129..d3d00d5d 100755
--- a/externals/debian/rules
+++ b/externals/debian/rules
@@ -17,8 +17,8 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
-orig:
- (cd ..;tar czvf pd-externals-00.`date +%Y%m%d`)
+orig: clean
+ (cd ..;tar czvf pd-externals_00.`date +%Y%m%d`.orig.tar.gz pd-externals)
configure: configure-stamp
@@ -28,9 +28,6 @@ configure-stamp:
touch configure-stamp
-orig: clean
- cd ..;tar --exclude=CVS -czvf pd-externals_0.3.orig.tar.gz pd-externals
-
build: build-stamp
@@ -63,11 +60,10 @@ build-stamp: configure-stamp
(cd OSCx/libOSC;$(MAKE))
(cd OSCx/OSC; $(MAKE))
- #
+ # build PDP
(cd pdp;autoconf;./configure;$(MAKE))
-
- #/usr/bin/docbook-to-man debian/pd-externals.sgml > pd-externals.1
+ (cd pdp/scaf/;autoconf;./configure;$(MAKE))
touch build-stamp
@@ -83,6 +79,12 @@ clean:
-rm `find . -name "*.dll"`
-rm `find . -name "*.obj"`
+ # fix up wrong permissions
+
+ chmod 644 `find . -name "*.h"`
+ chmod 644 `find . -name "*.c"`
+ chmod 644 `find . -name "*.pd"`
+
# Add here commands to clean up after the build process.
-(cd build/linux;$(MAKE) clean)
@@ -95,7 +97,15 @@ clean:
(cd OSCx/libOSC;$(MAKE) clean)
(cd OSCx/OSC; $(MAKE) pd_linux_clean)
#
- (cd pdp;autoconf;./configure;$(MAKE) mrproper)
+ -(cd pdp/scaf;$(MAKE) clean)
+ -(cd pdp/scaf;$(MAKE) mrproper)
+ -(cd pdp;$(MAKE) clean)
+ -(cd pdp;rm -rf configure \
+ config.log \
+ config.status \
+ autom4te.cache \
+ Makefile.config)
+
dh_clean
@@ -107,6 +117,8 @@ install: build
# Add here commands to install the package into debian/pd-externals.
(cd build/linux; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp)
+ (rm -r `find $(CURDIR)/debian/tmp/ -name CVS`)
+
(cd zexy/src; $(MAKE) -f makefile.linux install DESTDIR=$(CURDIR)/debian/tmp \
INSTALL_PREFIX=/usr/ \
PDLIBDIR=lib/pd )
@@ -119,7 +131,7 @@ install: build
# Install OSC
install OSCx/OSC/OSC.pd_linux $(CURDIR)/debian/tmp/usr/lib/pd/extra
- install OSCx/doc/*.pd $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference
+ install -m 644 OSCx/doc/*.pd $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference
# install pdp (needs /usr/lib/extern)