summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-03 22:42:53 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-03 22:42:53 (EDT)
commitb58eea930b046fbdb85ecccddc57035018c5016a (patch)
tree7232038d8c9d662791deccd091c9449af2e4c072
parentc6a1a6e4cac1b5e17ade080d97b3026587461b4a (diff)
Make binary packages.
-rw-r--r--file-doc.pkg/control7
-rw-r--r--file-doc.pkg/files2
-rw-r--r--file.pkg/control5
-rw-r--r--file.pkg/files1
-rw-r--r--libmagic-dev.pkg/control6
-rw-r--r--libmagic-dev.pkg/files3
-rw-r--r--libmagic-doc.pkg/control6
-rw-r--r--libmagic-doc.pkg/files1
-rw-r--r--libmagic.1.pkg/control4
-rw-r--r--libmagic.1.pkg/docs0
-rw-r--r--libmagic.1.pkg/files2
-rw-r--r--substvars6
12 files changed, 43 insertions, 0 deletions
diff --git a/file-doc.pkg/control b/file-doc.pkg/control
new file mode 100644
index 0000000..8c5836a
--- /dev/null
+++ b/file-doc.pkg/control
@@ -0,0 +1,7 @@
+Architecture: any
+Platform: all
+Depends: file
+Description: tool that determines file type using magic numbers - documentation
+ ${Tool-Common-Description}
+ .
+ This package provides manual pages for the file tool.
diff --git a/file-doc.pkg/files b/file-doc.pkg/files
new file mode 100644
index 0000000..65b5b3e
--- /dev/null
+++ b/file-doc.pkg/files
@@ -0,0 +1,2 @@
+/usr/share/man/man1
+/usr/share/man/man4
diff --git a/file.pkg/control b/file.pkg/control
new file mode 100644
index 0000000..5a5ba34
--- /dev/null
+++ b/file.pkg/control
@@ -0,0 +1,5 @@
+Architecture: any
+Platform: all
+Depends: libmagic.1 (= ${Binary-Version})
+Description: tool that determines file type using magic numbers
+ ${Tool-Common-Description}
diff --git a/file.pkg/files b/file.pkg/files
new file mode 100644
index 0000000..415f082
--- /dev/null
+++ b/file.pkg/files
@@ -0,0 +1 @@
+/usr/bin
diff --git a/libmagic-dev.pkg/control b/libmagic-dev.pkg/control
new file mode 100644
index 0000000..f060169
--- /dev/null
+++ b/libmagic-dev.pkg/control
@@ -0,0 +1,6 @@
+Architecture: any
+Platform: all
+Description: library that determines file type - development
+ ${Library-Common-Description}
+ .
+ This package provides the development files for libmagic.
diff --git a/libmagic-dev.pkg/files b/libmagic-dev.pkg/files
new file mode 100644
index 0000000..a6abd7d
--- /dev/null
+++ b/libmagic-dev.pkg/files
@@ -0,0 +1,3 @@
+/usr/lib/*/libmagic.so
+/usr/lib/*/libmagic.a
+/usr/include
diff --git a/libmagic-doc.pkg/control b/libmagic-doc.pkg/control
new file mode 100644
index 0000000..672bdcc
--- /dev/null
+++ b/libmagic-doc.pkg/control
@@ -0,0 +1,6 @@
+Architecture: any
+Platform: all
+Description: library that determines file type - documentation
+ ${Library-Common-Description}
+ .
+ This package provides the manual page for libmagic.
diff --git a/libmagic-doc.pkg/files b/libmagic-doc.pkg/files
new file mode 100644
index 0000000..84a8680
--- /dev/null
+++ b/libmagic-doc.pkg/files
@@ -0,0 +1 @@
+/usr/share/man/man3
diff --git a/libmagic.1.pkg/control b/libmagic.1.pkg/control
new file mode 100644
index 0000000..2636d7b
--- /dev/null
+++ b/libmagic.1.pkg/control
@@ -0,0 +1,4 @@
+Architecture: any
+Platform: all
+Description: library that determines file type
+ ${Library-Common-Description}
diff --git a/libmagic.1.pkg/docs b/libmagic.1.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libmagic.1.pkg/docs
diff --git a/libmagic.1.pkg/files b/libmagic.1.pkg/files
new file mode 100644
index 0000000..dca1532
--- /dev/null
+++ b/libmagic.1.pkg/files
@@ -0,0 +1,2 @@
+/usr/lib/*/libmagic.so.*
+/usr/share/misc/magic.mgc
diff --git a/substvars b/substvars
new file mode 100644
index 0000000..3bee559
--- /dev/null
+++ b/substvars
@@ -0,0 +1,6 @@
+Tool-Common-Description:
+ The file command is "a file type guesser", that is, a command-line tool that
+ tells you in words what kind of data a file contains.
+Library-Common-Description:
+ This library can be used to classify files according to magic number tests. It
+ implements the core functionality of the file command.