Abuild and Helpers: Difference between revisions
(New page: == Introduction == The [http://dev.alpinelinux.org/cgit/abuild/ abuild] tree is a [http://dev.alpinelinux.org/cgit/abuild/tree/ directory tree] with scripts, example-files, makefiles and o...) |
m (→Fetch latest abuild: cmd macro added) |
||
Line 14: | Line 14: | ||
While inside your [[Setting up the build environment 1.9|build environment]] you need to have the set of scripts/makefiles/etc. | While inside your [[Setting up the build environment 1.9|build environment]] you need to have the set of scripts/makefiles/etc. | ||
'''''Note:''' You only need to do these 2 steps once! Next time you can skip this part.'' | '''''Note:''' You only need to do these 2 steps once! Next time you can skip this part.'' | ||
{{Cmd|apk add alpine-sdk | |||
cd ~ | cd ~ | ||
git clone git://dev.alpinelinux.org/abuild | git clone git://dev.alpinelinux.org/abuild}} | ||
When the above is done you might be interested in fetching the latest updates. | When the above is done you might be interested in fetching the latest updates. | ||
{{Cmd|cd ~ | |||
git pull | git pull}} |
Revision as of 07:56, 17 June 2011
Introduction
The abuild tree is a directory tree with scripts, example-files, makefiles and other things that you need when creating packages.
File descriptions
abuild
The abuild script reads the APKBUILD and executes the steps needed to create a package.
abuild has a config file that you can modify for your own needs.
alpine.mk
alpine.mk is used when creating a alpine iso or tar.gz.
mkalpine
mkalpine is a helper script that installs what you need to be able to create Alpine.
Fetch latest abuild
While inside your build environment you need to have the set of scripts/makefiles/etc. Note: You only need to do these 2 steps once! Next time you can skip this part.
apk add alpine-sdk cd ~ git clone git://dev.alpinelinux.org/abuild
When the above is done you might be interested in fetching the latest updates.
cd ~ git pull