diff options
-rw-r--r-- | Build.PL | 9 | ||||
-rw-r--r-- | t/use.t | 8 |
2 files changed, 17 insertions, 0 deletions
@@ -15,5 +15,14 @@ Alien::Base::ModuleBuild->new( configure_requires => { 'Alien::Base::ModuleBuild' => '0.022' }, alien_version_check => '%{pkg_config} --atleast-version 3.4.4 %n && %{pkg_config} --modversion %n', + alien_build_commands => [ + '%c --prefix=%s --with-tests', + 'make', + ], + alien_test_commands => [ + 'cd tests && ./create_frame_pattern frame', + 'cd tests && ./test_all.sh', + ], + license => 'gpl', )->create_build_script; @@ -0,0 +1,8 @@ +#!perl +use Test::More; + +ok(eval { require Alien::QREncode },'should load'); +my $alien = Alien::QREncode->new; +like($alien->libs,qr{qrencode},'should list the library'); + +done_testing; |