perl-device-usb: New package

Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
Marcel Denia
2015-09-10 16:12:35 +02:00
parent 13292808a3
commit 3cedc1aa87
7 changed files with 378 additions and 0 deletions
@@ -0,0 +1,20 @@
Description: Ignore files we do not want installed.
Forwarded: not-needed
Author: Tim Retout <diocles@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-10-28
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,6 +2,11 @@
use warnings;
use Inline::MakeMaker;
+sub MY::libscan {
+ return if ($_[1] eq 'USB.pm' or $_[1] eq 'dump_usb.pl');
+ return $_[1];
+}
+
if($^O eq 'MSWin32')
{
if(!$ENV{LIBUSB_LIBDIR} or !$ENV{LIBUSB_INCDIR})