summaryrefslogtreecommitdiffstats
path: root/mlocate/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 16:31:41 +0100
committerLukc <lukc@upyum.com>2010-12-12 16:31:41 +0100
commita76da484c4e7fc367157e4237c242d8aed1ba992 (patch)
treebb5076d43e691f6d0e4cecfda21f553e80b8d3cf /mlocate/Pkgfile
parent6c0f08e398bb63d2fa3db2f2991456734ee48f9e (diff)
downloadbase-a76da484c4e7fc367157e4237c242d8aed1ba992.tar.gz
base-a76da484c4e7fc367157e4237c242d8aed1ba992.tar.bz2
base-a76da484c4e7fc367157e4237c242d8aed1ba992.tar.xz
base-a76da484c4e7fc367157e4237c242d8aed1ba992.zip
Recette de mlocate mise à jour.
Diffstat (limited to 'mlocate/Pkgfile')
-rw-r--r--mlocate/Pkgfile23
1 files changed, 14 insertions, 9 deletions
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 <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
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
}