CPAN形式のディレクトリからdebを作る
$ sudo apt-get install dh-make-perl devscripts $ cd {CPAN形式のディレクトリ} $ dh-make-perl . # debを作るのに必要な {CPAN形式のディレクトリ}/debian/ が作られる $ debuild This package has a Debian revision number but there does not seem to be an appropriate original tar file or .orig directory in the parent directory; (expected one of libkaztools-perl_0.01.orig.tar.gz, libkaztools-perl_0.01.orig.tar.bz2, libkaztools-perl_0.01.orig.tar.lzma, libkaztools-perl_0.01.orig.tar.xz or kaztools.orig) continue anyway? (y/n) y ... (省略) ... $
2012/09/01 11:31 追記
今やったらこの方法じゃうまくいかなかった...(「今」ってさほど時間経ってないんだけど...)
あとパッケージもdh-make-perl,devscriptsの他にbuild-essentialsとかいるはず。
こんな感じだろうか。すごくad-hocだけど... あとで直す。
$ sudo apt-get install dh-make-perl devscripts build-essentials $ cd {CPAN形式のディレクトリ} $ mv .git ../hoge # gitがインストールされている場合?はmasterを作ってくれようとしちゃうのでいっそ.gitディレクトリを除けとく $ dh-make-perl make --build . # debが作られる $ cd .. $ ls *.deb