diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-11-06 18:44:39 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-11-06 18:44:39 +0000 |
commit | 3d60efd1619e57e5de9ba070a2b7331e55cf0932 (patch) | |
tree | d47f7fecffcb3e68bd006c955bfc83101e8dd72a /externals/debian | |
parent | 12b91ec71c60f61f97a32fb63e7936fc651a8b0e (diff) |
added debian build system
svn path=/trunk/; revision=205
Diffstat (limited to 'externals/debian')
-rw-r--r-- | externals/debian/README.Debian | 6 | ||||
-rw-r--r-- | externals/debian/changelog | 6 | ||||
-rw-r--r-- | externals/debian/control | 34 | ||||
-rw-r--r-- | externals/debian/copyright | 10 | ||||
-rw-r--r-- | externals/debian/dirs | 2 | ||||
-rw-r--r-- | externals/debian/docs | 0 | ||||
-rw-r--r-- | externals/debian/flext.files | 1 | ||||
-rw-r--r-- | externals/debian/pd-osc.files | 1 | ||||
-rwxr-xr-x | externals/debian/rules | 126 | ||||
-rw-r--r-- | externals/debian/zexy.files | 3 |
10 files changed, 189 insertions, 0 deletions
diff --git a/externals/debian/README.Debian b/externals/debian/README.Debian new file mode 100644 index 00000000..6ed9061b --- /dev/null +++ b/externals/debian/README.Debian @@ -0,0 +1,6 @@ +pd-externals for Debian +----------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Guenter Geiger <geiger@debian.org>, Wed, 6 Nov 2002 12:38:33 +0100 diff --git a/externals/debian/changelog b/externals/debian/changelog new file mode 100644 index 00000000..d649bfc8 --- /dev/null +++ b/externals/debian/changelog @@ -0,0 +1,6 @@ +pd-externals (0.0-1) unstable; urgency=low + + * Initial Release. + + -- Guenter Geiger (Debian/GNU) <geiger@debian.org> Wed, 6 Nov 2002 12:38:33 +0100 + diff --git a/externals/debian/control b/externals/debian/control new file mode 100644 index 00000000..e968af24 --- /dev/null +++ b/externals/debian/control @@ -0,0 +1,34 @@ +Source: pd-externals +Section: unknown +Priority: optional +Maintainer: Guenter Geiger <geiger@debian.org> +Build-Depends: debhelper (>> 3.0.0), pd, libsndobj-dev +Standards-Version: 3.5.2 + +Package: pd-externals +Architecture: any +Depends: pd, ${shlibs:Depends} +Description: pd external collection + This is a collection of pd externals (plugins for the pure data software + synthesizer). The collection includes tons of well known pd externals. + +Package: zexy +Architecture: any +Depends: pd, ${shlibs:Depends} +Description: zexy library for pd + Zexy is a library that you can load into pd (the pure data software + synthesizer). Zexy provides additional functionality to pd. + +Package: flext +Architecture: any +Depends: pd, ${shlibs:Depends} +Description: flext C++ external layer for pd + Flext is a C++ layer for programming pd externals + +Package: pd-osc +Architecture: any +Depends: pd, ${shlibs:Depends} +Description: Open Sound Control Support for PD + Open Sound Control is a protocol designed for remote controlling + sound applications. + diff --git a/externals/debian/copyright b/externals/debian/copyright new file mode 100644 index 00000000..08295011 --- /dev/null +++ b/externals/debian/copyright @@ -0,0 +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> + +Copyright: + +This is GPL. diff --git a/externals/debian/dirs b/externals/debian/dirs new file mode 100644 index 00000000..ca882bbb --- /dev/null +++ b/externals/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/externals/debian/docs b/externals/debian/docs new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/externals/debian/docs diff --git a/externals/debian/flext.files b/externals/debian/flext.files new file mode 100644 index 00000000..203f7b2e --- /dev/null +++ b/externals/debian/flext.files @@ -0,0 +1 @@ +/usr/lib/pd/flext diff --git a/externals/debian/pd-osc.files b/externals/debian/pd-osc.files new file mode 100644 index 00000000..101b22bf --- /dev/null +++ b/externals/debian/pd-osc.files @@ -0,0 +1 @@ +usr/lib/pd/extra/OSC* diff --git a/externals/debian/rules b/externals/debian/rules new file mode 100755 index 00000000..c5167f00 --- /dev/null +++ b/externals/debian/rules @@ -0,0 +1,126 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # Build the common externals + + (cd build/linux; $(MAKE)) + + # Build zexy + + (cd zexy/src; $(MAKE) -f makefile.linux) + + # Build flext + + (cd grill/flext; $(MAKE) -f makefile.pd-linux) + + # OSC + + (cd OSCx/libOSC;$(MAKE)) + (cd OSCx/OSC; $(MAKE)) + + #/usr/bin/docbook-to-man debian/pd-externals.sgml > pd-externals.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -(cd build/linux;$(MAKE) clean) + + (cd zexy/src; $(MAKE) -f makefile.linux clean) + + (cd grill/flext; $(MAKE) -f makefile.pd-linux clean) + + (cd OSCx/libOSC;$(MAKE) clean) + (cd OSCx/OSC; $(MAKE) pd_linux_clean) + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/pd-externals. + (cd build/linux; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp) + (cd zexy/src; $(MAKE) -f makefile.linux install DESTDIR=$(CURDIR)/debian/tmp \ + INSTALL_PREFIX=/usr/ \ + PDLIBDIR=lib/pd ) + (cd grill/flext; $(MAKE) -f makefile.pd-linux install INSTDIR=$(CURDIR)/debian/tmp/usr/lib/pd/flext) + + # 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 + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_movefiles +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/externals/debian/zexy.files b/externals/debian/zexy.files new file mode 100644 index 00000000..b84fd9c2 --- /dev/null +++ b/externals/debian/zexy.files @@ -0,0 +1,3 @@ +usr/lib/pd/externs/zexy* +usr/lib/pd/doc/5.reference/zexy + |