From 1ed16b00588d3f5628bc01bda91e88a52c67d82b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 15 Dec 2013 11:22:00 +0100 Subject: [PATCH] doc/manual.txt: explain steps required for additional subpkgs. --- doc/manual.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/manual.txt b/doc/manual.txt index 5edd3382b30..b72528d0224 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -60,6 +60,21 @@ in a directory matching `$pkgname`, i.e: `xbps-packages/srcpkgs/foo/template`. If everything went fine after running `xbps-src build-pkg` a binary package called `foo-1.0_1..xbps` will be generated in the local repository. +Additional binary packages (those defined in `_package() blocks` need a +symlink to the `main` package, like this: + +---------------------------------- + + /srcpkgs + |- foo <- directory + | |- template + |- foo-devel <- symlink to `foo` + +---------------------------------- + +Otherwise dependencies requiring those packages won't find its `template` +file. + Package build phases -------------------- Building a package consist of the following phases: