Skip to content
Browse files

Put back MBTiny with #!perl

  • Loading branch information...
1 parent 4f8fb53 commit b4b8caa6ca58f3cda8f751c306418e7b696ebcb1 @miyagawa committed Apr 24, 2013
Showing with 5 additions and 80 deletions.
  1. +3 −0 Build.PL
  2. +1 −1 META.json
  3. +0 −77 Makefile.PL
  4. +0 −1 dist.ini
  5. +1 −1 script/starman
View
3 Build.PL
@@ -0,0 +1,3 @@
+use 5.008001;
+use Module::Build::Tiny 0.017;
+Build_PL();
View
2 META.json
@@ -26,7 +26,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "Module::Build::Tiny" : "0.017"
}
},
"develop" : {
View
77 Makefile.PL
@@ -1,77 +0,0 @@
-
-use strict;
-use warnings;
-
-use 5.008001;
-
-use ExtUtils::MakeMaker 6.30;
-
-
-
-my %WriteMakefileArgs = (
- "ABSTRACT" => "High-performance preforking PSGI/Plack web server",
- "AUTHOR" => "Tatsuhiko Miyagawa <miyagawa\@bulknews.net>",
- "BUILD_REQUIRES" => {},
- "CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
- },
- "DISTNAME" => "Starman",
- "EXE_FILES" => [
- "script/starman"
- ],
- "LICENSE" => "perl",
- "NAME" => "Starman",
- "PREREQ_PM" => {
- "Data::Dump" => 0,
- "HTTP::Date" => 0,
- "HTTP::Parser::XS" => 0,
- "HTTP::Status" => 0,
- "Net::Server" => "0.91",
- "Plack" => "0.9971",
- "Test::TCP" => "1.11",
- "parent" => 0
- },
- "TEST_REQUIRES" => {
- "Test::More" => 0,
- "Test::Requires" => 0
- },
- "VERSION" => "0.3009",
- "test" => {
- "TESTS" => "t/*.t"
- }
-);
-
-
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
-
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
-}
-
-delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
- unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
-
-WriteMakefile(%WriteMakefileArgs);
-
-
-
View
1 dist.ini
@@ -1,3 +1,2 @@
[@Milla]
-installer = MakeMaker
View
2 script/starman
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!perl
use strict;
use Plack::Runner;

0 comments on commit b4b8caa

Please sign in to comment.
Something went wrong with that request. Please try again.