単一のソースパッケージを複数のバイナリパッケージ(別名.deb
-files、インストール可能)にビルドすることができます。これは確かにDebianパッケージを作るときの非常に一般的なパターンです。
複数のバイナリパッケージを作成するには、それぞれのセクションをdebian/control
ファイルに追加する必要があります。もちろん
$ cat debian/foobar.install
foobar usr/bin/
foobar.1 usr/share/man/man1/
$ cat debian/foobar-data.install
data/* usr/share/foobar/
$
この程度利用できるplenty of documentationがある:あなたがどのパッケージに入っているファイルを指定する必要があり、最も簡単な場合には
Source: foobar
Section: utils
Priority: optional
Maintainer: [email protected]
Build-Depends:
debhelper (>= 10~),
Standards-Version: 4.1.1
Homepage: https://github.com/foobar/foobar
Package: foobar
Section: utils
Architecture: any
Multi-Arch: same
Depends:
foobar-common (= ${source:Version}),
${misc:Depends},
Description: foo bar baz
bla bla bla
Package: foobar-data
Architecture: all
Depends:
${misc:Depends},
Description: foo bar baz (architecture independent files)
libmysofa is a light weight C-library intended to read SOFA (Spatially Oriented
bla bla bla.
.
this package contains the binary independent parts
:ような何か。
ソースを1つのパッケージに入れて(実際には何もしません)、ソースパッケージに依存するバイナリごとに別のパッケージを作成することができます。それがあなたがやるべきことであるか、ハックなのか分かりません。 – nwp
https://wiki.debian.org/BuildingTutorialを参照してください。そして、https://wiki.debian.org/HowToPackageForDebian – nullqube
@nullqubeはい、少しRTFMですが、私はウィキと他の多くのものを読んだことがありますが、この特定の問題に関する情報はありません。 – Frog