Instead of prefixing the search path with $PKGDEPLOYDIR and then
stripping the prefix off again every single time, do that inside
the pkg_scan_dir function.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit moves the "fetch_package" utility function to the package
skeleton and turns it into an overrideable function called "download".
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit adds an "emptypackage" template that implements defaults
for all package functions and is included before every package.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>