summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 00:11:52 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 00:11:52 -0700
commitb09b9989b43f6b015f0fac9670c1180e97b67972 (patch)
tree92887ebbd8ecf4d37cc929a735e2c77ee163f692
parent5e09783cda2e4cd08daf2b2024af1f8f3d9b7a98 (diff)
downloadpiny-code-b09b9989b43f6b015f0fac9670c1180e97b67972.tar.gz
piny-code-b09b9989b43f6b015f0fac9670c1180e97b67972.zip
Switched to Module::Build instead of hardcoding paths.
-rw-r--r--usr/src/libpiny/Build.PL10
-rw-r--r--usr/src/libpiny/Makefile9
-rw-r--r--usr/src/libpiny/Piny.mdwn1
-rw-r--r--usr/src/libpiny/debian/changelog6
-rw-r--r--usr/src/libpiny/lib/Piny.pm (renamed from usr/src/libpiny/Piny.pm)0
-rw-r--r--usr/src/libpiny/lib/Piny/Email.pm (renamed from usr/src/libpiny/Piny/Email.pm)0
-rw-r--r--usr/src/libpiny/lib/Piny/Environment.pm (renamed from usr/src/libpiny/Piny/Environment.pm)0
-rw-r--r--usr/src/libpiny/lib/Piny/Group.pm (renamed from usr/src/libpiny/Piny/Group.pm)0
-rw-r--r--usr/src/libpiny/lib/Piny/Repo.pm (renamed from usr/src/libpiny/Piny/Repo.pm)0
-rw-r--r--usr/src/libpiny/lib/Piny/User.pm (renamed from usr/src/libpiny/Piny/User.pm)0
10 files changed, 16 insertions, 10 deletions
diff --git a/usr/src/libpiny/Build.PL b/usr/src/libpiny/Build.PL
new file mode 100644
index 0000000..2a756e7
--- /dev/null
+++ b/usr/src/libpiny/Build.PL
@@ -0,0 +1,10 @@
+use Module::Build;
+Module::Build->new
+ ( module_name => 'Piny'
+ , license => 'BSD-3'
+ , dist_version => '0.2'
+ , requires =>
+ { 'Moose' => 0
+ , 'Email::Valid::Loose' => 0
+ }
+ )->create_build_script( );
diff --git a/usr/src/libpiny/Makefile b/usr/src/libpiny/Makefile
deleted file mode 100644
index 578cad8..0000000
--- a/usr/src/libpiny/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-build:
- true
-
-install:
- install -o root -g root -m 755 -d $(DESTDIR)/usr/share/perl5/Piny/
- install -o root -g root -m 644 Piny.pm $(DESTDIR)/usr/share/perl5
- install -o root -g root -m 644 Piny/*.pm $(DESTDIR)/usr/share/perl5/Piny
-
-.PHONY: build install
diff --git a/usr/src/libpiny/Piny.mdwn b/usr/src/libpiny/Piny.mdwn
deleted file mode 100644
index fb073e3..0000000
--- a/usr/src/libpiny/Piny.mdwn
+++ /dev/null
@@ -1 +0,0 @@
-[[!map pages="usr/src/libpiny/Piny/* and ! usr/src/libpiny/Piny/*/*"]]
diff --git a/usr/src/libpiny/debian/changelog b/usr/src/libpiny/debian/changelog
index 72b3436..cc1c8ef 100644
--- a/usr/src/libpiny/debian/changelog
+++ b/usr/src/libpiny/debian/changelog
@@ -1,3 +1,9 @@
+libpiny-perl (0.2-1) unstable; urgency=low
+
+ * Switched to Module::Build because it seems marginally sane.
+
+ -- Julian Blake Kongslie <jblake@omgwallhack.org> Thu, 18 Mar 2010 00:08:05 -0700
+
libpiny-perl (0.1-1) unstable; urgency=low
* Initial release.
diff --git a/usr/src/libpiny/Piny.pm b/usr/src/libpiny/lib/Piny.pm
index 2dc2b84..2dc2b84 100644
--- a/usr/src/libpiny/Piny.pm
+++ b/usr/src/libpiny/lib/Piny.pm
diff --git a/usr/src/libpiny/Piny/Email.pm b/usr/src/libpiny/lib/Piny/Email.pm
index 7ad17d8..7ad17d8 100644
--- a/usr/src/libpiny/Piny/Email.pm
+++ b/usr/src/libpiny/lib/Piny/Email.pm
diff --git a/usr/src/libpiny/Piny/Environment.pm b/usr/src/libpiny/lib/Piny/Environment.pm
index 4430362..4430362 100644
--- a/usr/src/libpiny/Piny/Environment.pm
+++ b/usr/src/libpiny/lib/Piny/Environment.pm
diff --git a/usr/src/libpiny/Piny/Group.pm b/usr/src/libpiny/lib/Piny/Group.pm
index 4b957a7..4b957a7 100644
--- a/usr/src/libpiny/Piny/Group.pm
+++ b/usr/src/libpiny/lib/Piny/Group.pm
diff --git a/usr/src/libpiny/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm
index 4783960..4783960 100644
--- a/usr/src/libpiny/Piny/Repo.pm
+++ b/usr/src/libpiny/lib/Piny/Repo.pm
diff --git a/usr/src/libpiny/Piny/User.pm b/usr/src/libpiny/lib/Piny/User.pm
index 53e310b..53e310b 100644
--- a/usr/src/libpiny/Piny/User.pm
+++ b/usr/src/libpiny/lib/Piny/User.pm