use libiconv-tiny as default for uClibc-ng
[openadk.git] / docs / adding-packages-hooks.txt
blob65786fbfcd81e2d995be40440d6c2801ca02da14
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
4 [[hooks]]
5 Hooks available in the various build steps
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 The infrastructure allow packages to specify hooks.  These define further
9 actions to perform after existing steps.  Most hooks aren't really useful for
10 manual packages, since the +Makefile+ already has full control over the
11 actions performed in each step of the package construction.
13 The following hook targets are available:
15 * +post-extract+
16 * +post-patch+
17 * +pre-configure+
18 * +post-configure+
19 * +pre-build+
20 * +post-build+
21 * +pre-install+
22 * +post-install+
24 For example, to make some scripts executable after extraction,
25 add following to your +Makefile+:
27 ---------------------
28 post-extract:
29         chmod a+x $(WRKBUILD)/build/make/*.sh
30         chmod a+x $(WRKBUILD)/build/make/*.pl
31 ---------------------