CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
f1563fb754ad9ed4c44ae67f47838b3f587ca33b
[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@crux-arm.nu
5 # Depends on:
6
7 name=mlocate
8 version=0.22.2
9 release=1
10 source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.bz2 \
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 --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 }