Added noextract var. If set manual distfils extraction is required.

--HG--
extra : convert_revision : b1a2195517db3b511a2be87c0d4835a3178c4ffe
This commit is contained in:
Juan RP 2009-03-21 05:28:39 +01:00
parent 42d1bbc8c5
commit d5e7f8c5d2
2 changed files with 12 additions and 2 deletions

View File

@ -51,6 +51,16 @@ extract_distfiles()
#
[ "$build_style" = "meta-template" ] && return 0
#
# If noextract is set, do a "fake extraction".
#
if [ -n "$noextract" ]; then
msg_normal "Manual extraction for $pkgname-$version."
mkdir $wrksrc
touch -f $XBPS_EXTRACT_DONE
return 0
fi
for f in ${distfiles}; do
count=$(($count + 1))
done

View File

@ -62,11 +62,11 @@ reset_tmpl_vars()
make_build_args make_install_args build_style \
short_desc maintainer long_desc checksum wrksrc \
patch_files make_cmd base_chroot register_shell \
make_build_target configure_script \
make_build_target configure_script noextract \
pre_configure pre_build pre_install \
post_configure post_build post_install \
make_install_target version \
xml_entries sgml_entries \
sgml_catalogs xml_catalogs xml_entries sgml_entries \
build_depends libtool_fixup_la_stage no_fixup_libtool \
disable_parallel_build run_depends cross_compiler \
only_for_archs patch_args conf_files keep_dirs \