# mlocate/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] build = default license = See "license*.txt" in installed tree licfile = COPYING #--------------------------------------------------------------------- [depends] actools findutils:strict # Supersedes some files gawk grep sed #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man VARDIR=/var/lib mkdir -p $MANBASE $VARDIR APASS=`od -Anone /dev/random | head -1 | sed -e 's/ //g'` USER=mlocate mkdir -p /home/jail if test -z "`grep "^$USER:" /etc/group`" ; then groupadd $USER; fi if test -z "`grep "^$USER:" /etc/passwd`" ; then useradd $USER -g $USER \ -d /home/jail -s /bin/bash -p $APASS fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=no \ --localstatedir=$VARDIR \ --mandir=$MANBASE #--------------------------------------------------------------------- [postbuild] ETCDIR=$PKGDIR_PROD/etc mkdir -p $ETCDIR cp -p $PKGDIR_SPECIAL/updatedb.conf $ETCDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian_page = tbd url_home = tbd url_lfs = tbd url_tarball = http://deb.debian.org/debian/pool/main/m/\ mlocate/mlocate_0.26.orig.tar.gz #--------------------------------------------------------------------- [history] 211017 Added package. Started with 0.26.