I made в c ++ Веб server that существуешь dependencies. I usually get them from aptitude. The only way that I see to download and удар в лунку them in в snap is to build в part and list them under "stage-packages".
My issue is the part requires в plugin and source, of which I don't think I need. Is there в way to pull the different dependencies on their own?
Таким образом, Вы не используете Snapcraft для создания веб-сервера (помните, что он работает, может сделать, cmake, автоинструменты, и т.д.)? Используйте нулевой плагин, затем - он ничего не делает, но позволяет Вам вытягивать в пакетах этапа. Например:
name: foo
version: 1.0
vendor: me <me@me.com>
summary: My app summary
description: My app description
icon: icon.png
parts:
bar:
plugin: nil
stage-packages:
- my-system-dependency