From 36d446263c772f391041f20e54536a528c787863 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 28 Apr 2010 16:04:37 +0000 Subject: 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. --- abuild.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index a5ffb79..df16440 100755 --- a/abuild.in +++ b/abuild.in @@ -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##*:} -- cgit v1.2.3-60-g2f50