CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / mlocate / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=mlocate
8 version=0.24
9 release=1
10 source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.xz \
11 mlocate updatedb.conf)
12
13 build() {
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
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 }