diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-23 16:28:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-23 16:28:34 +0000 |
commit | 3b7ab34e67ed1484ecf825e53715fa4070d2754f (patch) | |
tree | ba0357cd6b0028c38f29f5d4372b3f3829b7c272 /abuild.in | |
parent | f138d6704b61e542091262f06db4ccf5ed766c56 (diff) | |
download | abuild-3b7ab34e67ed1484ecf825e53715fa4070d2754f.tar.gz abuild-3b7ab34e67ed1484ecf825e53715fa4070d2754f.tar.bz2 abuild-3b7ab34e67ed1484ecf825e53715fa4070d2754f.tar.xz abuild-3b7ab34e67ed1484ecf825e53715fa4070d2754f.zip |
abuild: implement prepare()
prepare is run before build(). this allows uses to do patching before
configuring and building in a separate step.
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -291,6 +291,10 @@ runpart() { } # override those in your build script +prepare() { + : +} + build() { : } @@ -508,7 +512,7 @@ create_apks() { apkcache() { if ! apk_up2date || [ -n "$force" ]; then sanitycheck && builddeps && clean && fetch && unpack \ - && mkusers && rootpkg || return 1 + && prepare && mkusers && rootpkg || return 1 fi local apk |