blob: 3484031385e2b00afcc9f4a7b88e3a0a4c0e19a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
description="Fast merging drop-in replacement for slocate."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/"
depends=()
name=mlocate
version=0.23.1
release=1
source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-0.23.1.tar.xz mlocate updatedb.conf)
build ()
{
cd $name-$version;
./configure \
--prefix=$prefix \
--mandir=$mandir \
--sysconfdir=$sysconfdir \
--localstatedir=/var/lib \
$(use_enable nls);
make;
make DESTDIR=$PKG install;
install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate;
install -m 0644 $SRC/updatedb.conf $PKG/etc
}
|