Skip to content

Instantly share code, notes, and snippets.

@Gottox
Created April 9, 2014 07:57
Show Gist options
  • Save Gottox/10238485 to your computer and use it in GitHub Desktop.
Save Gottox/10238485 to your computer and use it in GitHub Desktop.
diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh
index ac7aabc..67f62d7 100644
--- a/common/xbps-src/shutils/build_dependencies.sh
+++ b/common/xbps-src/shutils/build_dependencies.sh
@@ -246,3 +246,12 @@ install_pkg_deps() {
TARGETPKG_PKGDEPS_DONE=1
fi
}
+
+bulk_build() {
+ pkgs=`xbps-repo-checkvers -d $XBPS_DISTDIR | awk '{print $2}'`
+ for pkg in $pkgs; do
+ setup_pkg $pkg $XBPS_CROSS_BUILD
+ show_pkg_build_deps | grep -xFf <(echo "$pkgs")
+ echo $pkg
+ done | awk ' !x[$0]++'
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment