diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-28 16:04:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-28 16:04:37 +0000 |
commit | 36d446263c772f391041f20e54536a528c787863 (patch) | |
tree | c350a650564a2d18f53929d895c9f1ad683bb638 /abuild.in | |
parent | c6f4cb7286ab7511460652fc3d671542557189a2 (diff) | |
download | abuild-36d446263c772f391041f20e54536a528c787863.tar.gz abuild-36d446263c772f391041f20e54536a528c787863.tar.bz2 abuild-36d446263c772f391041f20e54536a528c787863.tar.xz abuild-36d446263c772f391041f20e54536a528c787863.zip |
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.
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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##*:} |