diff options
Diffstat (limited to 'examples/findutils')
-rw-r--r-- | examples/findutils/gnu-findutils.p5m | 7 | ||||
-rw-r--r-- | examples/findutils/locate.p5m | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/findutils/gnu-findutils.p5m b/examples/findutils/gnu-findutils.p5m index 8e6f021..e902e90 100644 --- a/examples/findutils/gnu-findutils.p5m +++ b/examples/findutils/gnu-findutils.p5m @@ -4,6 +4,13 @@ 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 diff --git a/examples/findutils/locate.p5m b/examples/findutils/locate.p5m index fe26217..fee8de0 100644 --- a/examples/findutils/locate.p5m +++ b/examples/findutils/locate.p5m @@ -6,6 +6,8 @@ license $(license-file) license="$(license)" depend fmri=pkg:/file/gnu-$(name)@4.4 type=require +# TODO: mediators for /usr/bin/{locate,updatedb} + dir path=usr dir path=usr/gnu dir path=usr/gnu/bin |