Commit 6041733c authored by Luca Giambonini's avatar Luca Giambonini

added the basic steps to build a debian pkg of akabeicore

parent decf6c64
# 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
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