From a76da484c4e7fc367157e4237c242d8aed1ba992 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 16:31:41 +0100 Subject: Recette de mlocate mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mlocate/Pkgfile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'mlocate/Pkgfile') diff --git a/mlocate/Pkgfile b/mlocate/Pkgfile index 56f7f20..3484031 100644 --- a/mlocate/Pkgfile +++ b/mlocate/Pkgfile @@ -1,6 +1,6 @@ -description="Fast merging drop-in replacement for slocate" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Fast merging drop-in replacement for slocate." +packager="CRUX System Team " +maintainer="Lukc " url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/" depends=() @@ -10,10 +10,15 @@ release=1 source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-0.23.1.tar.xz mlocate updatedb.conf) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var/lib --disable-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 + cd $name-$version; + ./configure \ + --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 } -- cgit v1.2.3-70-g09d2