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