cca2c9e97ac19c9aab81d7d73507ec8bc669e470
5 local deps
="$(grep "^
# Depends on:" $pkg/Pkgfile | cut -d':' -f2-)"
11 local deps
="$(getDeps $pkg)"
12 if [ -z "$deps" ]; then
14 libgmp
|libmpfr
|binutils
|glibc
|gcc
)
18 if [ ! "$(echo $BUILD_ORDER | grep " ${pkg}")" ]; then
19 BUILD_ORDER
="$BUILD_ORDER $pkg"
24 for d
in ${deps[@]}; do
27 BUILD_ORDER
="$BUILD_ORDER $pkg"
31 # global var to store all final deps order
32 BUILD_ORDER
="libgmp libmpfr binutils glibc gcc"
35 [ ! -d "$f" ] && continue
37 libgmp
|libmpfr
|binutils
|glibc
|gcc
) continue ;;