summaryrefslogtreecommitdiff
path: root/usr/src/libpiny/Build.PL
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/libpiny/Build.PL')
-rw-r--r--usr/src/libpiny/Build.PL30
1 files changed, 0 insertions, 30 deletions
diff --git a/usr/src/libpiny/Build.PL b/usr/src/libpiny/Build.PL
deleted file mode 100644
index bfb5fd7..0000000
--- a/usr/src/libpiny/Build.PL
+++ /dev/null
@@ -1,30 +0,0 @@
-use Module::Build;
-
-open( DCH, "<", "debian/changelog" ) or die "changelog: $!";
-
-my $version = "0";
-while ( defined ( my $line = <DCH> ) ) {
- if ( $line =~ /\(([0-9.]+)\)/ ) {
- $version = $1;
- last;
- };
-};
-
-close( DCH );
-
-my $build = Module::Build->new
- ( 'module_name' => 'Piny'
- , 'dist_version' => $version
- , 'license' => 'BSD-3'
- , 'setup_files' => { 'share/ikiwiki.setup' => 'share/ikiwiki.setup' }
- , 'install_path' =>
- { 'share' => '/usr/share/libpiny'
- }
- , 'requires' =>
- { 'Moose' => 0
- , 'Email::Valid::Loose' => 0
- }
- );
-
-$build->add_build_element( "setup" );
-$build->create_build_script( );