Abuild and Helpers: Difference between revisions

From Alpine Linux
m (→‎Fetch latest abuild: cmd macro added)
m (links updated)
Line 4: Line 4:
== File descriptions ==
== File descriptions ==
=== abuild ===
=== abuild ===
The ''[http://dev.alpinelinux.org/cgit/abuild/tree/abuild abuild]'' script reads the ''[http://dev.alpinelinux.org/cgit/abuild/tree/sample.APKBUILD APKBUILD]'' and executes the steps needed to create a package.<BR>
* The ''[http://git.alpinelinux.org/cgit/abuild.git/ abuild]'' script reads the ''[http://git.alpinelinux.org/cgit/abuild.git/tree/sample.APKBUILD APKBUILD]'' and executes the steps needed to create a package.
''[http://dev.alpinelinux.org/cgit/abuild/tree/abuild abuild]'' has a [http://dev.alpinelinux.org/cgit/abuild/tree/abuild.conf config file] that you can modify for your own needs.
* ''[http://git.alpinelinux.org/cgit/abuild.git/ abuild]'' has a [http://git.alpinelinux.org/cgit/abuild.git/tree/abuild.conf config file] that you can modify for your own needs.
=== alpine.mk ===
=== alpine.mk ===
''[http://dev.alpinelinux.org/cgit/abuild/tree/alpine.mk alpine.mk]'' is used when creating a alpine iso or tar.gz.
''[http://git.alpinelinux.org/cgit/abuild.git/tree/alpine.mk alpine.mk]'' is used when creating a Alpine Linux iso image or tar.gz.
<!--
=== mkalpine ===
=== mkalpine ===
[http://dev.alpinelinux.org/cgit/abuild/tree/mkalpine mkalpine] is a helper script that installs what you need to be able to create Alpine.
[http://dev.alpinelinux.org/cgit/abuild/tree/mkalpine mkalpine] is a helper script that installs what you need to be able to create Alpine.
 
-->
== Fetch latest abuild ==  
== Fetch latest abuild ==  
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
{{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 ~
{{Cmd|cd ~
  git pull}}
  git pull}}

Revision as of 06:21, 24 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

alpine.mk

alpine.mk is used when creating a Alpine Linux iso image or tar.gz.

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