summaryrefslogtreecommitdiff
path: root/patch/patch.p5m
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-11-13 17:26:10 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-11-13 17:26:10 +0400
commit48d839ac6fee9e6dc0d2ce0e7c2e58219fe21d60 (patch)
tree6aad6d2264625be6be0127048dac9132ded2de02 /patch/patch.p5m
parentd794fc8b5c4909ba740f15c45f44346a15620767 (diff)
downloadcibs-pkgs-48d839ac6fee9e6dc0d2ce0e7c2e58219fe21d60.tar.gz
GNU patch
Diffstat (limited to 'patch/patch.p5m')
-rw-r--r--patch/patch.p5m21
1 files changed, 21 insertions, 0 deletions
diff --git a/patch/patch.p5m b/patch/patch.p5m
new file mode 100644
index 0000000..0a366aa
--- /dev/null
+++ b/patch/patch.p5m
@@ -0,0 +1,21 @@
+set name=pkg.fmri value=pkg:/text/gnu-$(name)@$(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)
+
+<transform file path=usr/gnu/bin/(.+) -> \
+emit link path=usr/bin/g%<1> target=../gnu/bin/%<1> >
+
+<transform file path=usr/gnu/share/man/man1/(.+) -> \
+emit link path=usr/share/man/man1/g%<1> target=../../../gnu/share/man/man1/%<1>>
+
+dir path=usr
+dir path=usr/gnu
+dir path=usr/gnu/bin
+dir path=usr/gnu/share
+dir path=usr/gnu/share/man
+dir path=usr/gnu/share/man/man1
+file path=usr/gnu/bin/patch
+file path=usr/gnu/share/man/man1/patch.1