]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/commitdiff
The samples/g-cpanp script
authorVincent Pit <vince@profvince.com>
Sat, 6 Dec 2008 16:50:28 +0000 (17:50 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 6 Dec 2008 16:53:28 +0000 (17:53 +0100)
MANIFEST
samples/g-cpanp [new file with mode: 0755]

index 39051ee815643b458e41055431b336ec8e3e16e9..bdb387f72a0196c900c83509444b6e79c5fd67dd 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -3,6 +3,7 @@ MANIFEST
 Makefile.PL
 README
 lib/CPANPLUS/Dist/Gentoo.pm
+samples/g-cpanp
 t/00-load.t
 t/90-boilerplate.t
 t/91-pod.t
diff --git a/samples/g-cpanp b/samples/g-cpanp
new file mode 100755 (executable)
index 0000000..6208c23
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+HEADER="# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2"
+
+# For debugging only :
+# PERL5LIB=blib/lib \
+exec cpan2dist --format=CPANPLUS::Dist::Gentoo \
+               --dist-opts manifest=yes        \
+               --dist-opts keywords=amd64      \
+               --dist-opts header="$HEADER"    \
+               --skiptest --verbose            \
+               $@