summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-28 16:04:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-28 16:04:37 +0000
commit36d446263c772f391041f20e54536a528c787863 (patch)
treec350a650564a2d18f53929d895c9f1ad683bb638 /abuild.in
parentc6f4cb7286ab7511460652fc3d671542557189a2 (diff)
downloadabuild-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-xabuild.in6
1 files changed, 6 insertions, 0 deletions
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##*:}