H
H
hoxnox2013-01-29 16:51:48
linux
hoxnox, 2013-01-29 16:51:48

Tool for creating linux packages from source?

Let's say there are sources in the form of the notorious tar.gz. I would like to feed them with a configuration file to some tool and get deb and rpm packages for the main distributions (ubuntu 12.04, 12.10, debian, centos ...) in 32 and 64 bit versions. Are there such tools?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mezomish, 2013-01-29
@Mezomish

build.opensuse.org/

The openSUSE Build Service is the the public instance of the Open Build Service (OBS) used for development of the openSUSE distribution and to offer packages from same source for Fedora, Debian, Ubuntu, SUSE Linux Enterprise and other distributions.

Start your project, feed the sources and configs and just wait for it to build. Then you can simply add your repository to the package manager and install / update packages using standard tools.

A
Andrey, 2013-01-29
@reaferon

checkinstall just creates deb packages from sources. And not only deb

O
oldbay, 2013-01-29
@oldbay

In each specific case, they have their own tool
. Redhatoids build packages with the rpmbuild utility using the spec file as the build script
ArchLinux - makepkg, using the PKGBUILD file as the script
Gentoo - emerge, uses the ebuild script
There are supposedly "universal" tools - that something like checkinstall or Sisyphus from Alt Linux = but their versatility stumbles on creating more or less complex packages (especially stuffed with installation scripts) - therefore it is better to use the build tools standard for the distribution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question