aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-27 11:47:13 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-27 11:47:13 +0400
commitb058c9cebed252ee254344d53bfcca3139b9b6c1 (patch)
treee55ca857141b4452641752c867c9e28817f7ef5b /examples
parentb21c4651f6df228fe4eebbfd87d5746a883cec2d (diff)
downloadcibs-b058c9cebed252ee254344d53bfcca3139b9b6c1.tar.gz
Put DB into /var/cache/glocate/
Diffstat (limited to 'examples')
-rw-r--r--examples/findutils/Makefile2
-rw-r--r--examples/findutils/locate.p5m2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/findutils/Makefile b/examples/findutils/Makefile
index d943ef4..a9ec520 100644
--- a/examples/findutils/Makefile
+++ b/examples/findutils/Makefile
@@ -8,6 +8,8 @@ summary := GNU utilities for finding files
license := GPLv3
license-file := COPYING
+configure-options += --localstatedir=/var/cache/glocate
+
build-depends += \
prefix := /usr/gnu
diff --git a/examples/findutils/locate.p5m b/examples/findutils/locate.p5m
index 9d5b93d..fe26217 100644
--- a/examples/findutils/locate.p5m
+++ b/examples/findutils/locate.p5m
@@ -15,6 +15,8 @@ dir path=usr/gnu/share/man
dir path=usr/gnu/share/man/man1
dir path=usr/gnu/share/man/man5
dir path=var
+dir path=var/cache/
+dir path=var/cache/glocate
file path=usr/gnu/bin/locate
file path=usr/gnu/bin/updatedb
file path=usr/gnu/libexec/bigram