Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kakwa/amkecpak
Amkecpak, a makefile based packaging framework.
https://github.com/kakwa/amkecpak
deb debian makefile package packaging redhat rpm shell
Last synced: 26 days ago
JSON representation
Amkecpak, a makefile based packaging framework.
- Host: GitHub
- URL: https://github.com/kakwa/amkecpak
- Owner: kakwa
- License: mit
- Created: 2015-11-16T19:33:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T21:27:23.000Z (27 days ago)
- Last Synced: 2024-12-01T22:28:17.320Z (27 days ago)
- Topics: deb, debian, makefile, package, packaging, redhat, rpm, shell
- Language: Shell
- Homepage:
- Size: 785 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Amkecpak, a makefile based packaging framework.
.. image:: https://travis-ci.org/kakwa/amkecpak.svg?branch=master
:target: https://travis-ci.org/kakwa/amkecpak
.. image:: https://readthedocs.org/projects/amkecpak/badge/?version=latest
:target: http://amkecpak.readthedocs.org/en/latest/?badge=latest
:alt: Documentation Status----
:Doc: `Documentation on ReadTheDoc `_
:Dev: `GitHub `_
:Author: Pierre-Francois Carpentier - copyright © 2017----
Packaging documentation in a nutshell
-------------------------------------.. sourcecode:: bash
# Install the packaing tools
$ apt-get install make debhelper reprepro cowbuilder wget
# or
$ yum install make rpm-sign expect rpm-build createrepo mock wget# Init a package foo
$ ./common/init_pkg.sh -n foo$ cd foo/
# Implementing the package
$ vim Makefile
$ make manifest
$ vim debian/rules ; vim debian/control
$ vim rpm/component.spec# Help for the various targets
$ make help# Building the packages
$ make deb
$ make rpm
# Same in chroots, targeting specific distribution versions
$ make deb_chroot DIST=jessie
$ make rpm_chroot DIST=el7$ cd ../
# gpg key generation (one time thing)
$ gpg --gen-key
# editing the global configuration
$ vim common/buildenv/Makefile.config# Building the repositories
# Use ERROR=skip to ignore package build failures and continue building the repo
$ make deb_repo -j 4 DIST=jessie # ERROR=skip
$ make rpm_repo -j 1 DIST=el7 # ERROR=skipIf you need more information, read the `detailed documentation `_.