void-packages/srcpkgs/findutils/template

31 lines
861 B
Text
Raw Normal View History

# Template file for 'findutils'
pkgname=findutils
version=4.4.2
revision=5
build_style=gnu-configure
2013-02-06 19:52:23 +00:00
configure_args="--localstatedir=/var/lib/locate
gl_cv_func_wcwidth_works=yes
gl_cv_header_working_fcntl_h=yes ac_cv_func_fnmatch_gnu=yes"
short_desc="The GNU Find Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/findutils"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
post_install() {
# Install the cron daily job.
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
# Install the updatedb conf file.
vinstall ${FILESDIR}/updatedb.conf 640 etc
}
findutils_package() {
conf_files="/etc/updatedb.conf"
conflicts="chroot-findutils>=0"
pkg_install() {
vmove etc
vmove usr
}
}