27 lines
585 B
Plaintext
27 lines
585 B
Plaintext
# Description: GNU utilities to locate files
|
|
# URL: http://www.gnu.org/software/findutils/
|
|
# Maintainers: Eric B. Decker,Michael Rendell,James A. Woods
|
|
# Packager: tnut at nutyx dot org
|
|
|
|
name=findutils
|
|
version=4.6.0
|
|
release=1
|
|
|
|
source=(http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz)
|
|
|
|
build()
|
|
{
|
|
cd findutils-$version
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/lib/findutils \
|
|
--localstatedir=/var/lib/locate \
|
|
--libdir=/lib --bindir=/bin
|
|
|
|
make
|
|
# make check
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/info/dir
|
|
sed -i 's/find:=${BINDIR}/find:=\/bin/' $PKG/bin/updatedb
|
|
}
|