Abuild and Helpers

From Alpine Linux
Revision as of 07:56, 17 June 2011 by Fab (talk | contribs) (→‎Fetch latest abuild: cmd macro added)

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