User:Dubiousjim/Developer Documentation: Difference between revisions

From Alpine Linux
(saved, WIP)
(added {{Draft}})
Line 1: Line 1:
{{Draft}}
[[Image:package_system.svg|right|link=]]
[[Image:package_system.svg|right|link=]]



Revision as of 16:36, 25 March 2012

This material is work-in-progress ...

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

not yet in Development


Package Management


Development


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)
   Creating an Alpine package (← links)
   APKBUILD Reference (← links

-test subpackage

OCaml Haskell Chicken Scheme Lua


   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) 




Alpine Configuration Framework

This material is work-in-progress ...

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


Alpine-specific Utilities


Misc, perhaps not in Development?