xbps-src: add -m flag and make-repoidx target.

* -m flag to specify a custom XBPS_MASTERDIR, overwritting the value
  from xbps-src.conf.
* make-repoidx target to create a package index plist file for
  the local repository associated with a masterdir, or one specified
  by the -p flag.

--HG--
extra : convert_revision : dbd502b532fd49cd17a79a187488a1e92f361ee0
This commit is contained in:
Juan RP 2010-04-27 01:34:19 +02:00
parent 8807a183f8
commit cb582f7373
4 changed files with 31 additions and 5 deletions

View file

@ -95,7 +95,7 @@ install_pkg()
fi
# Install pkg into destdir.
env xbps_machine=${xbps_machine} \
env xbps_machine=${xbps_machine} MASTERDIR=${_MASTERDIR} \
${fakeroot_cmd} ${fakeroot_cmd_args} \
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-doinst-helper \
${curpkgn} || exit $?