2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: GNU utilities to locate files
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.gnu.org/software/findutils/
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=findutils
|
|
|
|
|
version=4.6.0
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle()
|
2016-02-24 01:27:23 +01:00
|
|
|
|
{
|
2017-10-27 21:56:50 +02:00
|
|
|
|
cd findutils-$version
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--libexecdir=/lib/findutils \
|
|
|
|
|
--localstatedir=/var/lib/locate \
|
|
|
|
|
--libdir=/lib --bindir=/bin
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 21:56:50 +02:00
|
|
|
|
make
|
|
|
|
|
# make check
|
|
|
|
|
make DESTDIR=$PKG install
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 21:56:50 +02:00
|
|
|
|
rm -rf $PKG/usr/share/info/dir
|
|
|
|
|
sed -i 's/find:=${BINDIR}/find:=\/bin/' $PKG/bin/updatedb
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|