CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mlocate: update to 0.23.1
[crossrootfs.git] / mlocate / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Fast merging drop-in replacement for slocate
2# URL: http://carolina.mff.cuni.cz/~trmac/blog/mlocate/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=mlocate
94b6db3c 8version=0.23.1
6dca1d21 9release=1
94b6db3c 10source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.xz \
6dca1d21
JB
11 mlocate updatedb.conf)
12
13build() {
14 cd $name-$version
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man \
20 --sysconfdir=/etc \
21 --localstatedir=/var/lib \
94b6db3c 22 --disable-nls
6dca1d21
JB
23
24 sed -i -e '29 d' -e '82 d' gnulib/lib/wchar.in.h
25 make ARCH=arm
26 make DESTDIR=$PKG install
27
28 install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate
29 install -m 0644 $SRC/updatedb.conf $PKG/etc
30}