diff options
-rw-r--r-- | dev/packaging/tutorials/basic.mdwn | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/dev/packaging/tutorials/basic.mdwn b/dev/packaging/tutorials/basic.mdwn index cb1e575..5d54a73 100644 --- a/dev/packaging/tutorials/basic.mdwn +++ b/dev/packaging/tutorials/basic.mdwn @@ -16,6 +16,12 @@ This tutorial presents one possible packaging workflow that seems to work well. There is no mandatory workflow to packaging. The only requirements are those made by the source package format and any build helper utilities that are used. +[opkbuild]: http://git.proteanos.com/opkbuild/opkbuild.git/ +[spf]: http://specs.proteanos.com/spf-2.0/ +[opkhelper]: http://git.proteanos.com/opkhelper/opkhelper.git/ +[posix]: http://pubs.opengroup.org/onlinepubs/9699919799/ +[posix-makefile]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13 + Getting Started =============== @@ -52,6 +58,10 @@ accordingly. $ mv 'expat-2.1.0.tar.gz' 'expat-2.1.0.orig.tar.gz' +[spf-format]: http://specs.proteanos.com/spf-2.0/overview.html#files-format +[expat]: http://expat.sourceforge.net/ +[spf-upstream-source]: http://specs.proteanos.com/spf-2.0/overview.html#files-src-src-ver-tar-ext + Source Package Metadata ======================= @@ -186,6 +196,15 @@ We can now build Expat. $ opkbuild -b -c -T build +[dpm-control]: http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax +[spf-fields-src]: http://specs.proteanos.com/spf-2.0/fields.html#fields-src +[rfc-5322-3.4]: https://tools.ietf.org/html/rfc5322#section-3.4 +[spf-changelog]: http://specs.proteanos.com/spf-2.0/metadata.html#changelog +[spf-build]: http://specs.proteanos.com/spf-2.0/buildsys.html#build +[no-op]: https://en.wiktionary.org/wiki/no-op +[spf-work-area]: http://specs.proteanos.com/spf-2.0/buildsys.html#work-area +[posix-colon]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#colon + Installing the Software ======================= @@ -499,6 +518,9 @@ So our `build` makefile should now look like this: oh-strip oh-installfiles +[spf-binpkg.pkg]: http://specs.proteanos.com/spf-2.0/overview.html#files-binpkg.pkg +[spf-fields-bin]: http://specs.proteanos.com/spf-2.0/fields.html#fields-src + Documentation and Finishing Touches =================================== @@ -733,26 +755,7 @@ data files in packages look correct. Congratulations! You've made a source package that successfully builds four binary packages! - -[opkbuild]: http://git.os.libiquity.com/opkbuild/opkbuild.git/ -[spf]: http://specs.os.libiquity.com/spf-2.0/ -[opkhelper]: http://git.os.libiquity.com/opkhelper/opkhelper.git/ -[posix]: http://pubs.opengroup.org/onlinepubs/9699919799/ -[posix-makefile]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13 -[spf-format]: http://specs.os.libiquity.com/spf-2.0/overview.html#files-format -[expat]: http://expat.sourceforge.net/ -[spf-upstream-source]: http://specs.os.libiquity.com/spf-2.0/overview.html#files-src-src-ver-tar-ext -[dpm-control]: http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax -[spf-fields-src]: http://specs.os.libiquity.com/spf-2.0/fields.html#fields-src -[rfc-5322-3.4]: https://tools.ietf.org/html/rfc5322#section-3.4 -[spf-changelog]: http://specs.os.libiquity.com/spf-2.0/metadata.html#changelog -[spf-build]: http://specs.os.libiquity.com/spf-2.0/buildsys.html#build -[no-op]: https://en.wiktionary.org/wiki/no-op -[spf-work-area]: http://specs.os.libiquity.com/spf-2.0/buildsys.html#work-area -[posix-colon]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#colon -[spf-binpkg.pkg]: http://specs.os.libiquity.com/spf-2.0/overview.html#files-binpkg.pkg -[spf-fields-bin]: http://specs.os.libiquity.com/spf-2.0/fields.html#fields-src -[spf-docs]: http://specs.os.libiquity.com/spf-2.0/metadata.html#docs -[spf-substvars]: http://specs.os.libiquity.com/spf-2.0/substvars.html +[spf-docs]: http://specs.proteanos.com/spf-2.0/metadata.html#docs +[spf-substvars]: http://specs.proteanos.com/spf-2.0/substvars.html [deb-expat-copyright]: http://packages.debian.org/changelogs/pool/main/e/expat/current/copyright [licensecheck]: http://anonscm.debian.org/gitweb/?p=devscripts/devscripts.git;a=blob;f=scripts/licensecheck.pl;hb=HEAD |