CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed major update for Arch-Maintainer's email (all ports)
[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
1e68bf95 8version=0.22.2
6dca1d21
JB
9release=1
10source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.bz2 \
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 \
22 --disable-nls \
23 --disable-debug
24
25 sed -i -e '29 d' -e '82 d' gnulib/lib/wchar.in.h
26 make ARCH=arm
27 make DESTDIR=$PKG install
28
29 install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate
30 install -m 0644 $SRC/updatedb.conf $PKG/etc
31}