summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 15:36:13 -0800
committerLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 15:36:13 -0800
commit59ea647265425710bfb805b98d393030444c5abb (patch)
tree7df6d8d3b2b5d513426272beb44e7e176a026b1b
parent3a4f87215a9c71d0edf8eea83d13545ce70a1459 (diff)
downloadcrda-59ea647265425710bfb805b98d393030444c5abb.tar.gz
crda-59ea647265425710bfb805b98d393030444c5abb.tar.bz2
crda-59ea647265425710bfb805b98d393030444c5abb.zip
Adds example debian package directory to help maintainersv1.0.0
This one uses cdbs to make debian/rules smaller. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--debian-example/changelog5
-rw-r--r--debian-example/compat1
-rw-r--r--debian-example/control17
-rw-r--r--debian-example/copyright21
-rw-r--r--debian-example/docs1
-rwxr-xr-xdebian-example/rules8
6 files changed, 53 insertions, 0 deletions
diff --git a/debian-example/changelog b/debian-example/changelog
new file mode 100644
index 0000000..a27a343
--- /dev/null
+++ b/debian-example/changelog
@@ -0,0 +1,5 @@
+crda (1.0.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Luis R. Rodriguez <mcgrof@gmail.com> Fri, 23 Jan 2009 16:00:00 +0100
diff --git a/debian-example/compat b/debian-example/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian-example/compat
@@ -0,0 +1 @@
+5
diff --git a/debian-example/control b/debian-example/control
new file mode 100644
index 0000000..eba7c0c
--- /dev/null
+++ b/debian-example/control
@@ -0,0 +1,17 @@
+Source: crda
+Section: admin
+Priority: optional
+Maintainer: Luis R. Rodriguez <mcgrof@gmail.com>
+Build-Depends: cdbs, debhelper (>= 5), gcc, wireless-regdb, libgcrypt11-dev, python-m2crypto, libnl1
+Standards-Version: 3.7.3
+
+Package: crda
+Architecture: all
+Depends: udev, libgcrypt11, libnl1
+Suggests: iw
+Description: Linux wireless central regulatory domain agent
+ This package provides CRDA to be used by the new Linux kernel wireless
+ subsystem to query from userspace regulatory domains. For more information
+ see:
+ .
+ http://wireless.kernel.org/en/developers/Regulatory/
diff --git a/debian-example/copyright b/debian-example/copyright
new file mode 100644
index 0000000..85d6068
--- /dev/null
+++ b/debian-example/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Luis Rodriguez <mcgrof@gmail.com> on
+Thu, 22 Jan 2009 16:00:00 +0100.
+
+The crda packages was downloaded from <http://wireless.kernel.org/download/crda/>
+
+Copyright (c) 2008, Luis R. Rodriguez <mcgrof@gmail.com>
+Copyright (c) 2008, Johannes Berg <johannes@sipsolutions.net>
+Copyright (c) 2008, Michael Green <Michael.Green@Atheros.com>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
diff --git a/debian-example/docs b/debian-example/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian-example/docs
@@ -0,0 +1 @@
+README
diff --git a/debian-example/rules b/debian-example/rules
new file mode 100755
index 0000000..bc42902
--- /dev/null
+++ b/debian-example/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_MAKE_BUILD_TARGET := all
+DEB_MAKE_ENVVARS := DESTDIR=debian/$(cdbs_curpkg)/
+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR)