aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control58
-rw-r--r--debian/copyright41
-rw-r--r--debian/docs2
-rw-r--r--debian/libphidget21-0.dirs1
-rw-r--r--debian/libphidget21-0.install2
-rw-r--r--debian/libphidget21-dev.dirs2
-rw-r--r--debian/libphidget21-dev.install3
-rw-r--r--debian/libphidget21-java.install1
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
13 files changed, 135 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fd5da01
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libphidget21 (2.1.8.20120912-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #670984)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Fri, 19 Oct 2012 19:41:34 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6b7775e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: libphidget21
+Priority: optional
+Maintainer: Jonathan McCrohan <jmccrohan@gmail.com>
+Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, libusb-1.0-0-dev, default-jdk
+Standards-Version: 3.9.3
+Section: libs
+Homepage: http://www.phidgets.com
+
+Package: libphidget21-0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: multiarch-support
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Phidgets runtime library
+ Runtime library for the libphidgets API.
+ .
+ Phidgets are a set of "plug and play" building blocks for low cost USB
+ sensing and control from your PC. All the USB complexity is taken care
+ of by the robust libphidget API.
+
+Package: libphidget21-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Pre-Depends: multiarch-support
+Depends: libphidget21-0 (= ${binary:Version}), libusb-dev, ${misc:Depends}
+Description: Phidgets development files
+ This package contains Development libraries and header files for the
+ libphidget API.
+ .
+ Phidgets are a set of "plug and play" building blocks for low cost USB
+ sensing and control from your PC. All the USB complexity is taken care
+ of by the robust libphidget API.
+
+Package: libphidget21-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Multi-Arch: same
+Pre-Depends: multiarch-support
+Depends: libphidget21-0 (= ${binary:Version}), ${misc:Depends}
+Description: Phidgets debug symbols
+ This package contains debugging symbols for the libphidget API.
+ .
+ Phidgets are a set of "plug and play" building blocks for low cost USB
+ sensing and control from your PC. All the USB complexity is taken care
+ of by the robust libphidget API.
+
+Package: libphidget21-java
+Section: java
+Architecture: all
+Depends: libphidget21-dev, ${misc:Depends}
+Description: Phidgets Java library
+ This package contains java bindings for the libphidget API.
+ .
+ Phidgets are a set of "plug and play" building blocks for low cost USB
+ sensing and control from your PC. All the USB complexity is taken care
+ of by the robust libphidget API.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a9a813f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libphidget21
+Source: http://www.phidgets.com/
+
+Files: *
+Copyright: 2007-2012 Phidgets Inc. <support@phidgets.com>
+License: LGPL-3
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License can be found in the file `/usr/share/common-licenses/LGPL-3'.
+
+Files: debian/*
+Copyright: 2012 Jonathan McCrohan <jmccrohan@gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/libphidget21-0.dirs b/debian/libphidget21-0.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libphidget21-0.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libphidget21-0.install b/debian/libphidget21-0.install
new file mode 100644
index 0000000..b9bfe3b
--- /dev/null
+++ b/debian/libphidget21-0.install
@@ -0,0 +1,2 @@
+usr/lib/*/lib*.so.*
+udev/99-phidgets.rules lib/udev/rules.d
diff --git a/debian/libphidget21-dev.dirs b/debian/libphidget21-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libphidget21-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libphidget21-dev.install b/debian/libphidget21-dev.install
new file mode 100644
index 0000000..7df81cd
--- /dev/null
+++ b/debian/libphidget21-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
diff --git a/debian/libphidget21-java.install b/debian/libphidget21-java.install
new file mode 100644
index 0000000..20602f7
--- /dev/null
+++ b/debian/libphidget21-java.install
@@ -0,0 +1 @@
+/usr/share/java/*.jar
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..14d2fe9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+override_dh_auto_build:
+ make
+ make phidget21.jar
+
+override_dh_strip:
+ dh_strip -p libphidget21-0 --dbg-package=libphidget21-dbg
+
+%:
+ dh $@ --with autoreconf --with autotools-dev
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..817a88c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.phidgets.com/drivers.php .*libphidget_(.*)\.tar\.gz