参考文献Debian New Maintainers' Guide
必要なファイル
configure に対応しているソースからdebianのパッケージを作る際に、最低限必要なファイルは以下の4つ。
設定ファイルの雛形は dh_make で作ることができる。
$ cd ソースコードのあるディレクトリ $ dh_make -e メールアドレス
changelog
dchというコマンドで更新する(?)
export DEBEMAIL="hoge@hogehoge.com" export DEBEMAIL export DEBFULLNAME="Hoge" export DEBFULLNAME
Copyrightの雛形
Copyright Holder: HOGE <HOGE@FUGA> License: This software is copyright (c) 2004-2005 by HOGE You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file.
ビルドと確認
$ dpkg-buildpackage -us -uc -rfakeroot
出来上がったパッケージを確認する。
$ lintian -i hoge.deb
バイナリパッケージ中のファイルのリストを確認する。
$ dpkg -c hoge.deb