Commit f04f75bc authored by Lisa's avatar Lisa

Convert README.debian in markdown and improve wording.

parent 6041733c
# Debian how to buildpackage
# list of basic steps to build a debian pkg of akabeicore
# install all required deps in the debian VM before starting
# sudo apt-get install build-essential
#
# For a complete guide follow the debian manual:
# http://www.debian.org/doc/manuals/maint-guide/build.en.html
# https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging
1) rename the akabeicore folder by adding the version
like: akabeicore-1.0.0
2) modify and adapt the files under debian folder:
changelog -> add the latest changelog
compat
control -> check if the dependencies are correct
copyright
README.source
rules
4a) calling this command should be enought to build the pkg
dpkg-buildpackage -us -uc
4b) if more fine build is required, enter the akabeicore folder and start packaging with:
git pull
dpkg-source --commit
dpkg-genchanges >../akabeicore_1.0.0-1_amd64.changes
dpkg-source --after-build akabeicore-1.0.0
dpkg-buildpackage -rfakeroot -k'jhon@example.com'
dh_make --createorig -c gpl2 -s -e jhon@example.com
5) when the .deb was generated successfully push the debian/ changes
git push
# Packaging akabeicore in Debian
List of the basic steps to package akabeicore in Debian, in order to install it on the buildserver.
Install all required deps in the Debian VM before starting
> sudo apt-get install build-essential
Please refer to the build manuals [here](http://www.debian.org/doc/manuals/maint-guide/build.en.html) and [here](https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging).
The steps:
- Rename the akabeicore folder by adding the version, e.g. akabeicore-1.0.0
- Modify the files under the *debian* folder.
- changelog: write the latest changelog.
- compat
- control: check if all dependencies are here.
- README.source
- rules
- invoke this to build the package
> dpkg-buildpackage -us -uc
- If more control during the build is required, use this from inside the akabeicore folder:
- git pull
- dpkg-source --commit
- dpkg-genchanges ../akabeicore\_1.0.0-1_amd64.changes
- dpkg-source --after-build akabeicore-1.0.0
- dpkg-buildpackage -rfakeroot -k'john@example.com'
- dh_make --createorig -c gpl2 -s -e john@example.com
- Commit all the changes to the akabeicore repository.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment