Developer Documentation: Difference between revisions

From Alpine Linux
(→‎Package management: remove reminder links)
mNo edit summary
Line 43: Line 43:
<!-- [[Create an Alpine 1.9 vserver template]] -->
<!-- [[Create an Alpine 1.9 vserver template]] -->


=== Building from source/Creating packages ===
=== Building from source and creating packages ===


* [[Aports tree]] <!-- <== APKBUILD -->
* [[Aports tree]] <!-- <== APKBUILD -->
* [[Abuild]]
* [[Abuild]]
 
* [[Abuild tree|Abuild tree - Helpful scripts for Packaging]]
* [[Creating an Alpine package]]
* [[Creating an Alpine package]]
   <!-- includes [[Setup your system and account for building packages]] -->
   <!-- includes [[Setup your system and account for building packages]] -->
Line 77: Line 77:
** [[Development using git:Cgit|Cgit]]
** [[Development using git:Cgit|Cgit]]
** [[Cgit|Another cgit page]]
** [[Cgit|Another cgit page]]
<!--
** [[Migrate SVN to Git]]
-->
<!--
[[Abuild tree]]
I think this document should be deleted. It does not provide any useful information at all.
* You don't need check out abuild from git to be able to build packages. (using an official release of abuild is higly recommended)
* abuild.mk have been replaced with alpine-iso.git long time ago.
* the term 'build environment' made sense when we built alpine from gentoo. Now the 'build environment' is a normal alpine install + apk add alpine-sdk.
* The doc mention nothing about how to use abuild to build packages, not even it mention that you need to do 'make && sudo make install'
In short this doc provides no relevant info. I vote for removing it and instead write an how to use abuild doc or similar. --Ncopa 14:45, 6 July 2011 (UTC)
----
The abuild package provides scripts you need when creating packages for Alpine Linux. The abuild and its friends are installed automatically along with the alpine-sdk package.
    apk add alpine-sdk
http://git.alpinelinux.org/cgit/abuild.git/tree/ always contains the lastest version of the scripts, example-files, and makefiles.
Helpers
{{:Abuild-keygen}}
{{:Abuild-sign}}
{{:Abuild-tar}}
{{:Abump}}
{{:Apkgrel}}
{{:Abuild}}
APKBUILD generation
To create the actual APKBUILD file <tt>newapkbuild</tt> can serve you a template to start with. It will create a directory with the given package name, place an example/template APKBUILD file to the given directory, and fill some variables if those are provided.
{{:Newapkbuild}}
{{:Apkbuild-cpan}}
{{:Apkbuild-pypi}}
Tools
[[Buildlab]]
{{:Buildrepo}}
cmp-apks-iso
devbuild
initramfs-init
-->


=== Misc ===
=== Misc ===

Revision as of 16:23, 10 May 2012

Package management

Init system


Development

Configuring your system

Building from source and creating packages

Misc

Alpine Configuration Framework

This material is work-in-progress ...

Needs to be organized/consolidated.
(Last edited by Fab on 10 May 2012.)


Alpine-developed Utilities