How to поверьте package including source codes, which составьте during installation

Is it possible to верьте тебе в deb package for в Ubuntu, which contains source codes and automatically составь them into executable during its installation?

I haven't found any tutorials for this, only tutorials about "how to составьте package from sources", which is прекратитесь different thing from what i want. That makes я think, this might not be в good разрабатывает.

So, is this possible at all, and if yes, is it в good разрабатывает?

0
задан 31 December 2015 в 16:02

1 ответ

Это не то, как .deb пакеты работают. Они содержат предварительно скомпилированное программное обеспечение, Вы не можете только сделать deb пакет с исходным кодом. У меня есть предложение: почему Вы не делаете .tar.gz пакет, содержащий Ваш исходный код и сценарий для компиляции его? Сценарий должен быть похожим на это:

#!/bin/bash

# here comes the code to compile your source code, like the usual. Change to fit your needs.

./configure

make

make install

0
ответ дан 26 July 2019 в 10:49

Другие вопросы по тегам:

Похожие вопросы: