2008-10-23 17:06:57 +00:00
|
|
|
# Template file for 'findutils'
|
|
|
|
pkgname=findutils
|
2009-06-20 07:25:10 +00:00
|
|
|
version=4.4.2
|
2013-02-01 10:32:03 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
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"
|
2008-10-23 17:06:57 +00:00
|
|
|
short_desc="The GNU Find Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-06 07:56:41 +00:00
|
|
|
license="GPL-3"
|
2013-02-01 10:32:03 +00:00
|
|
|
homepage="http://www.gnu.org/software/findutils"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2009-06-20 07:25:10 +00:00
|
|
|
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
2008-10-23 17:06:57 +00:00
|
|
|
|
2013-02-01 10:32:03 +00:00
|
|
|
post_install() {
|
2010-11-30 15:33:19 +00:00
|
|
|
# Install the cron daily job.
|
2011-11-06 07:56:41 +00:00
|
|
|
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
2010-11-30 15:33:19 +00:00
|
|
|
# Install the updatedb conf file.
|
2011-11-06 07:56:41 +00:00
|
|
|
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
2009-02-26 21:57:32 +00:00
|
|
|
}
|
2013-04-12 09:16:02 +00:00
|
|
|
|
|
|
|
findutils_package() {
|
|
|
|
conf_files="/etc/updatedb.conf"
|
|
|
|
conflicts="chroot-findutils>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|