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: 11 months ago
JSON representation
Amkecpak, a makefile based packaging framework.
- Host: GitHub
- URL: https://github.com/kakwa/amkecpak
- Owner: kakwa
- License: mit
- Archived: true
- Created: 2015-11-16T19:33:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T12:22:24.000Z (over 1 year ago)
- Last Synced: 2025-03-17T13:34:57.885Z (over 1 year ago)
- Topics: deb, debian, makefile, package, packaging, redhat, rpm, shell
- Language: Shell
- Homepage:
- Size: 895 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
DISCLAIMER
----------
**This project is deprecated** and has been replaced by:
* `Pakste for the packaging framework `_
* `kakwalab-pkg for the collection of packages `_
Info
----
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=skip
If you need more information, read the `detailed documentation `_.