void-packages/srcpkgs/findutils/template

30 lines
1,015 B
Text

# Template file for 'findutils'
pkgname=findutils
version=4.4.2
revision=2
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var/lib/locate"
short_desc="The GNU Find Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
long_desc="
The GNU Find Utilities are the basic directory searching utilitiesof the
GNU operating system. These programs are typically used in conjunction with
other programs to provide modular and powerful directory search and file
locating capabilities to other commands."
conf_files="/etc/updatedb.conf"
Add_dependency run glibc
Add_dependency build gettext
Add_dependency build texinfo
post_install()
{
# Install the cron daily job.
install -D -m744 ${FILESDIR}/updatedb.cron-daily \
${DESTDIR}/etc/cron.daily/updatedb
# Install the updatedb conf file.
install -D -m640 ${FILESDIR}/updatedb.conf ${DESTDIR}/etc/updatedb.conf
}