aboutsummaryrefslogtreecommitdiff
path: root/examples/grep/gnu-grep.p5m
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-28 22:37:16 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-28 22:37:16 +0400
commitf4140bc5435dffb27064df5a98b33f6d0d1b9595 (patch)
treea5837f7e98908daca4c215442bddc9b517cc551e /examples/grep/gnu-grep.p5m
parentf9b823394ccfad3c82551f05f9362a461acd0003 (diff)
downloadcibs-f4140bc5435dffb27064df5a98b33f6d0d1b9595.tar.gz
Setting gnu symlinks blindly is not good
Diffstat (limited to 'examples/grep/gnu-grep.p5m')
-rw-r--r--examples/grep/gnu-grep.p5m8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/grep/gnu-grep.p5m b/examples/grep/gnu-grep.p5m
index bf811ec..a1e10d5 100644
--- a/examples/grep/gnu-grep.p5m
+++ b/examples/grep/gnu-grep.p5m
@@ -1,10 +1,16 @@
-
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