User:Dubiousjim/Developer Documentation

From Alpine Linux
Revision as of 22:08, 25 March 2012 by Dubiousjim (talk | contribs) (saved, WIP)
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 25 Mar 2012.)

Package management

Init system


Development

Configuring your system

Creating packages/building from source

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) 
DJ: should at least be merged into Abuild
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 templates
To create the actual APKBUILD file newapkbuild 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


   Abuild tree (inclusion) (← links)
   Creating an Alpine package (← links)
   Setup your system and account for building packages (← links)
   Abuild tree (inclusion) (← links)
   Apkindex format (← links)
   Abuild tree (inclusion) (← links)
   Abuild tree (inclusion) (← links)
   Abuild tree (inclusion) (← links)
   Creating an Alpine package (inclusion) (← links)
   Abuild tree (inclusion) (← links)
   Abuild tree (inclusion) (← links)
   Abuild tree (inclusion) (← links)
   Abuild tree (← links)
   Abuild tree (inclusion) (← links)
   Creating an Alpine package (← links)
   Developer Documentation (← links)
   Creating an Alpine package (← links)
   Aports tree (← links)
   Developer Documentation (← links)
   Setup your system and account for building packages (← links)

Git

   Creating patches (← links)
   Creating an Alpine package (← links)
   Developer Documentation (← links)
   Alpine Linux:Contribute (← links)
   Setup your system and account for building packages (← links)
   Development using git (← links)
   Creating an Alpine package (← links)
   Development using git (← links)
   Development using git:Cgit (← links)
   Development using git (← links)
   Publish developer repositories on cgit (redirect page) (← links) 


Examples

   Creating an Alpine package (← links)
   APKBUILD Reference (← links

-test subpackage


Misc


Alpine Configuration Framework

This material is work-in-progress ...

Needs to be organized/consolidated.
(Last edited by Dubiousjim on 25 Mar 2012.)


Alpine-developed Utilities


Other (shouldn't be in Development?)