blob: 16d280c926da2f8a00231ad09f65c62659e05887 (
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
25
26
|
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/$name/$name-$version.tar.xz mlocate updatedb.conf)
build ()
{
cd $name-$version;
./configure \
${CBUILD:+--build=${CBUILD}} \
${CHOST:+--host=${CHOST}} \
--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
}
|