summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian')
-rw-r--r--t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean1
-rw-r--r--t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in18
-rw-r--r--t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install1
-rw-r--r--t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages1
-rwxr-xr-xt/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules12
5 files changed, 33 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean
new file mode 100644
index 0000000..8f76e67
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/clean
@@ -0,0 +1 @@
+man/
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in
new file mode 100644
index 0000000..c105cba
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/control.in
@@ -0,0 +1,18 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ gawk:any, mawk:any, php5:any, python2:any, python3:any,
+ ruby:any
+Description: [% $description %]
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install
new file mode 100644
index 0000000..0486c9a
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/install
@@ -0,0 +1 @@
+*-script usr/bin/
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages
new file mode 100644
index 0000000..bf519d7
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/manpages
@@ -0,0 +1 @@
+man/*.1
diff --git a/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules
new file mode 100755
index 0000000..7cbf8b1
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-dep-fp/build-spec/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ mkdir man
+ for FILE in *-script ; do \
+ sed s/@SCRIPT@/$$FILE/g script.pod | \
+ pod2man --name="$$(echo "$$FILE" | tr a-z A-Z )" \
+ --section=1 > man/$$FILE.1 ; \
+ done