mirror of
https://github.com/pygos/build.git
synced 2024-11-25 12:20:42 +01:00
b1bdce20a9
Crunch project websites and try to find the latest version for each package without having to do the work manually. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
22 lines
415 B
Bash
Executable file
22 lines
415 B
Bash
Executable file
include_pkg() {
|
|
PKGNAME="$1" # globally visible package name
|
|
|
|
unset -f build deploy prepare check_update
|
|
unset -v VERSION TARBALL URL SRCDIR SHA256SUM DEPENDS
|
|
source "$SCRIPTDIR/pkg/$PKGNAME/build"
|
|
}
|
|
|
|
dependencies() {
|
|
local depends="$DEPENDS"
|
|
|
|
if [ ! -z "$depends" ]; then
|
|
for DEP in $depends; do
|
|
echo "$PKGNAME $DEP"
|
|
done
|
|
|
|
for DEP in $depends; do
|
|
include_pkg "$DEP"
|
|
dependencies
|
|
done
|
|
fi
|
|
}
|