From 7ec6830bdc2756687c0fd5496e2dacbc1eae5533 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Quelin?= Date: Tue, 15 Jan 2008 12:28:20 +0100 Subject: [PATCH] renamed Math::Vector::XS to Language::Befunge::Vector::XS --- MANIFEST | 10 ---------- Makefile.PL | 15 ++++++++++----- XS.xs | 2 +- lib/{Math => Language/Befunge}/Vector/XS.pm | 6 +++--- t/{Math-Vector-XS.t => 0-load.t} | 2 +- 5 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 MANIFEST rename lib/{Math => Language/Befunge}/Vector/XS.pm (87%) rename t/{Math-Vector-XS.t => 0-load.t} (89%) diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 343662e..0000000 --- a/MANIFEST +++ /dev/null @@ -1,10 +0,0 @@ -Changes -Makefile.PL -MANIFEST -ppport.h -README -XS.xs -t/Math-Vector-XS.t -fallback/const-c.inc -fallback/const-xs.inc -lib/Math/Vector/XS.pm diff --git a/Makefile.PL b/Makefile.PL index 8185d8f..845f2a2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,15 +3,20 @@ use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( - NAME => 'Math::Vector::XS', - VERSION_FROM => 'lib/Math/Vector/XS.pm', # finds $VERSION + NAME => 'Language::Befunge::Vector::XS', + VERSION_FROM => 'lib/Language/Befunge/Vector/XS.pm', # finds $VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'lib/Math/Vector/XS.pm', # retrieve abstract from module - AUTHOR => 'Jerome Quelin ') : ()), + (ABSTRACT_FROM => 'lib/Language/Befunge/Vector/XS.pm', # retrieve abstract from module + AUTHOR => 'Jerome Quelin ') : ()), LIBS => [''], # e.g., '-lm' DEFINE => '', # e.g., '-DHAVE_SOMETHING' INC => '-I.', # e.g., '-I. -I/usr/include/other' + clean => { FILES => [ + 'Language-Befunge-Vector-XS-*', + map { ( '*/' x $_ ) . '*~' } 0..4 ] + }, + # Un-comment this if you add C files to link with later: # OBJECT => '$(O_FILES)', # link all the C files too ); @@ -22,7 +27,7 @@ if (eval {require ExtUtils::Constant; 1}) { # changes. my @names = (qw()); ExtUtils::Constant::WriteConstants( - NAME => 'Math::Vector::XS', + NAME => 'Language::Befunge::Vector::XS', NAMES => \@names, DEFAULT_TYPE => 'IV', C_FILE => 'const-c.inc', diff --git a/XS.xs b/XS.xs index a621e0d..df91a7d 100644 --- a/XS.xs +++ b/XS.xs @@ -6,7 +6,7 @@ #include "const-c.inc" -MODULE = Math::Vector::XS PACKAGE = Math::Vector::XS +MODULE = Language::Befunge::Vector::XS PACKAGE = Language::Befunge::Vector::XS INCLUDE: const-xs.inc diff --git a/lib/Math/Vector/XS.pm b/lib/Language/Befunge/Vector/XS.pm similarity index 87% rename from lib/Math/Vector/XS.pm rename to lib/Language/Befunge/Vector/XS.pm index 88de11d..2cee1e9 100644 --- a/lib/Math/Vector/XS.pm +++ b/lib/Language/Befunge/Vector/XS.pm @@ -1,4 +1,4 @@ -package Math::Vector::XS; +package Language::Befunge::Vector::XS; use 5.008008; use strict; @@ -7,7 +7,7 @@ use warnings; our $VERSION = '0.01'; require XSLoader; -XSLoader::load('Math::Vector::XS', $VERSION); +XSLoader::load('Language::Befunge::Vector::XS', $VERSION); # Preloaded methods go here. @@ -17,7 +17,7 @@ __END__ =head1 NAME -Math::Vector::XS - Perl extension for blah blah blah +Language::Befunge::Vector::XS - Perl extension for blah blah blah =head1 SYNOPSIS diff --git a/t/Math-Vector-XS.t b/t/0-load.t similarity index 89% rename from t/Math-Vector-XS.t rename to t/0-load.t index 86543a0..7bbb910 100644 --- a/t/Math-Vector-XS.t +++ b/t/0-load.t @@ -6,7 +6,7 @@ # change 'tests => 1' to 'tests => last_test_to_print'; use Test::More tests => 1; -BEGIN { use_ok('Math::Vector::XS') }; +BEGIN { use_ok('Language::Befunge::Vector::XS') }; ######################### -- 2.11.4.GIT