Make it possible to install 'custom-install' pkgs without distfiles.

Make xbps-base-{chroot,system} install the lib -> lib64 symlinks on
x86_64.

--HG--
extra : convert_revision : 9404d50c8a15dcd700df49aace1bbd105749f00a
This commit is contained in:
Juan RP
2008-12-27 04:21:38 +01:00
parent ccd4556853
commit f6f7288c48
4 changed files with 34 additions and 5 deletions

View File

@@ -106,6 +106,7 @@ setup_tmpl()
#
prepare_tmpl()
{
local REQ_VARS=
local i=
local found=
@@ -114,7 +115,11 @@ prepare_tmpl()
#
[ "$build_style" = "meta-template" ] && return 0
REQ_VARS="pkgname distfiles version build_style"
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
mkdir -p $XBPS_BUILDDIR/$pkgname-$version
fi
REQ_VARS="pkgname version build_style short_desc long_desc"
# Check if required vars weren't set.
for i in ${REQ_VARS}; do