abuild: support for building simple tar.gz files of target

When building with crosscompile to bootstrap a new target it might
be handy to not include the dependencies etc.
This commit is contained in:
Natanael Copa 2010-04-28 16:04:37 +00:00
parent c6f4cb7286
commit 36d446263c

View File

@ -317,6 +317,12 @@ build() {
:
}
# generate a simple tar.gz package of pkgdir
targz() {
cd "$pkgdir" || return 1
tar -czf "$PKGDEST"/$pkgname-$pkgver-r$pkgrel.tar.gz *
}
get_split_func() {
# get the 'func' from "sub-pkg:func"
local func=${1##*:}