summaryrefslogtreecommitdiff
path: root/bzip2/bzip2.p5m
diff options
context:
space:
mode:
Diffstat (limited to 'bzip2/bzip2.p5m')
-rw-r--r--bzip2/bzip2.p5m29
1 files changed, 29 insertions, 0 deletions
diff --git a/bzip2/bzip2.p5m b/bzip2/bzip2.p5m
new file mode 100644
index 0000000..cf9e854
--- /dev/null
+++ b/bzip2/bzip2.p5m
@@ -0,0 +1,29 @@
+set name=pkg.fmri value=pkg:/compress/bzip2@$(ips-version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+
+# XXX 64-bit is default
+file $(builddir.64)/bzip2 path=usr/bin/bzip2
+file $(builddir.64)/bzip2recover path=usr/bin/bzip2recover
+link target=bzip2 path=usr/bin/bzcat
+link target=bzip2 path=usr/bin/bunzip2
+
+# Man pages are from source directory:
+file bzip2.1 path=usr/share/man/man1/bzip2.1
+link target=bzip2.1 path=usr/share/man/man1/bzcat.1
+link target=bzip2.1 path=usr/share/man/man1/bunzip2.1
+link target=bzip2.1 path=usr/share/man/man1/bzip2recover.1
+
+
+# These are shell scripts from source dir:
+file bzgrep path=usr/bin/bzgrep
+file bzmore path=usr/bin/bzmore
+file bzmore.1 path=usr/share/man/man1/bzmore.1
+link target=bzgrep path=usr/bin/bzfgrep
+link target=bzgrep path=usr/bin/bzegrep
+link target=bzmore path=usr/bin/bzless
+link target=bzmore.1 path=usr/share/man/man1/bzless.1