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
|
2014-03-14 14:17:44 +01:00
|
|
|
revision=7
|
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
|
|
|
|
2014-02-27 11:37:18 +01:00
|
|
|
make_dirs="/var/lib/locate 0755 root root"
|
|
|
|
conf_files="/etc/updatedb.conf"
|
|
|
|
conflicts="chroot-findutils>=0"
|
|
|
|
|
2014-06-26 10:50:06 +02:00
|
|
|
pre_configure() {
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl)
|
|
|
|
# Special case for musl libc; "fix" issues with gnulib.
|
|
|
|
: > gnulib/lib/freadahead.c
|
|
|
|
: > gnulib/lib/fseeko.c
|
|
|
|
echo "void close_stdin(void) {}" > gnulib/lib/closein.c
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|