findutils: create /var/lib/locate dir (found by v2px).
This commit is contained in:
parent
d7075701dd
commit
d685ae7ac4
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'findutils'
|
# Template file for 'findutils'
|
||||||
pkgname=findutils
|
pkgname=findutils
|
||||||
version=4.4.2
|
version=4.4.2
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--localstatedir=/var/lib/locate
|
configure_args="--localstatedir=/var/lib/locate
|
||||||
gl_cv_func_wcwidth_works=yes
|
gl_cv_func_wcwidth_works=yes
|
||||||
|
@ -13,18 +13,13 @@ homepage="http://www.gnu.org/software/findutils"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
||||||
|
|
||||||
|
make_dirs="/var/lib/locate 0755 root root"
|
||||||
|
conf_files="/etc/updatedb.conf"
|
||||||
|
conflicts="chroot-findutils>=0"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install the cron daily job.
|
# Install the cron daily job.
|
||||||
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
||||||
# Install the updatedb conf file.
|
# Install the updatedb conf file.
|
||||||
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
||||||
}
|
}
|
||||||
|
|
||||||
findutils_package() {
|
|
||||||
conf_files="/etc/updatedb.conf"
|
|
||||||
conflicts="chroot-findutils>=0"
|
|
||||||
pkg_install() {
|
|
||||||
vmove etc
|
|
||||||
vmove usr
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue