Use Module::Build::Tiny as Debian policy compliant

Bookmark this on Hatena Bookmark
Hatena Bookmark - Use Module::Build::Tiny as Debian policy compliant
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed
[`tweetmeme` not found]
[`grow` not found]

I tried to make Google::API::Client deb package, it requires Module::Build::Tiny, and dh-make-perl don’t suppot it, so I worte a override code in debian/rules.

[sourcecode]
override_dh_auto_install:
./Build install –destdir=$$(pwd)/debian/$pkgname –installdirs=vendor
[/sourcecode]

More elegant answer should be to add Module::Build::Lite support to dh-make-perl.

Update:

This probrem is only wheezy, I don’t need such workaround on sid. Thank you greoga.

2 thoughts on “Use Module::Build::Tiny as Debian policy compliant

  1. AFAIK, dh-make-perl doesn’t have and never had problems with Module::Build::Tiny, and we’re having a bunch of modules using it packaged in the pkg-perl group.

    My guess about your problem (–long-option-names?) is that you need a new enough debhelper (at least 9.20130630, cf. #714544; or better 9.20140227, cf. #737662).

    Cheers,
    gregor

    1. Ah, you are right.
      My environment is wheezy, and tried on sid and it works fine.

      Thank you the notice.

Comments are closed.