Create debian packages
authorTodor Tomov <ttomov@mm-sol.com>
Thu, 3 Feb 2011 08:50:50 +0000 (10:50 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 7 Feb 2011 15:32:53 +0000 (16:32 +0100)
Create debian packages for media-ctl application, media controller
and v4l2 subdevice libraries.
Set initial version 0.0.1-1.

Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/libmedia-dev.install [new file with mode: 0644]
debian/libmedia.install [new file with mode: 0644]
debian/libsubdev-dev.install [new file with mode: 0644]
debian/libsubdev.install [new file with mode: 0644]
debian/media-ctl.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..a8cc866
--- /dev/null
@@ -0,0 +1,5 @@
+media-ctl (0.0.1-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Todor Tomov <ttomov@mm-sol.com>  Wed, 02 Feb 2011 18:36:13 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..6b2cfec
--- /dev/null
@@ -0,0 +1,54 @@
+Source: media-ctl
+Priority: extra
+Maintainer: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+Build-Depends: debhelper (>= 7.0.50~),
+               kernel-headers (>= 2.6.32-20105003),
+               libtool,
+               autoconf,
+               automake
+Standards-Version: 3.8.4
+Section: utils
+
+Package: libmedia
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: Media controller library
+ This library aims to simplify media controller setup.
+
+Package: libmedia-dev
+Section: libdevel
+Architecture: any
+Depends: libmedia (= ${binary:Version})
+Description: Development headers for media controller library
+ Development headers to be used when developing software which
+ uses media controller library.
+
+Package: libsubdev
+Section: libs
+Architecture: any
+Depends: libmedia,
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: V4L2 subdevice library
+ This library aims to simplify setup and use of V4L2 subdevice nodes.
+
+Package: libsubdev-dev
+Section: libdevel
+Architecture: any
+Depends: libsubdev (= ${binary:Version})
+Description: Development headers for V4L2 subdevice library
+ Development headers to be used when developing software which
+ uses V4L2 subdevice library.
+
+Package: media-ctl
+Section: utils
+Architecture: any
+Depends: libmedia,
+         libsubdev,
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Media controller control application
+ media-ctl is an utility for setup of media controller topology.
+
diff --git a/debian/libmedia-dev.install b/debian/libmedia-dev.install
new file mode 100644 (file)
index 0000000..76a818a
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/media.h
+usr/lib/libmedia.a
+usr/lib/libmedia.so
+usr/lib/libmedia.la
diff --git a/debian/libmedia.install b/debian/libmedia.install
new file mode 100644 (file)
index 0000000..e72fbe2
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libmedia.so.*
diff --git a/debian/libsubdev-dev.install b/debian/libsubdev-dev.install
new file mode 100644 (file)
index 0000000..ed4cd13
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/subdev.h
+usr/lib/libsubdev.a
+usr/lib/libsubdev.so
+usr/lib/libsubdev.la
diff --git a/debian/libsubdev.install b/debian/libsubdev.install
new file mode 100644 (file)
index 0000000..27973d5
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libsubdev.so.*
diff --git a/debian/media-ctl.install b/debian/media-ctl.install
new file mode 100644 (file)
index 0000000..4ac88ea
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/media-ctl
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..6331824
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh  $@
+
+override_dh_auto_configure:
+       autoreconf -i
+       dh_auto_configure
+