Show the list of dependencies required for a package to be built

in the "list" target.

--HG--
extra : convert_revision : e49a14940a078c994703d7ef678cc7e808b9d192
This commit is contained in:
Juan RP 2008-09-30 04:28:05 +02:00
parent 09dccc8719
commit 183ba0cfea

View file

@ -144,6 +144,16 @@ info_tmpl()
echo " build_style: $build_style"
echo " short_desc: $short_desc"
echo "$long_desc"
echo
if [ -r "$PKGFS_DEPSDIR/$pkgname-deps.db" ]; then
pkgdepf="$PKGFS_DEPSDIR/$pkgname-deps.db"
list="$($db_cmd btree $pkgdepf deps)"
echo " This package requires the following dependencies to be built:"
for i in ${list}; do
[ "$i" = "deps" ] && continue
echo " $i"
done
fi
}
apply_tmpl_patches()