summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL6
-rwxr-xr-xdebian/rules4
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index b3f287f..c1a0bc0 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,4 +4,10 @@ use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Ivy',
'VERSION_FROM' => 'Ivy.pm', # finds $VERSION
+ 'PREREQ_PM' => {
+ 'Time::Gettimeofday' => 0.01,
+ },
+ 'PM' => {'Ivy.pm' => '$(INST_LIBDIR)/Ivy.pm'},
+
+ 'EXE_FILES' => [ qw(example/ivyprobe.pl) ],
);
diff --git a/debian/rules b/debian/rules
index 19b8182..ef62577 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ endif
TMP=`pwd`/debian/tmp
archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
-config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)/$(archlib)
+config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib) INSTALLSCRIPT=$(TMP)/usr/bin
build:
$(checkdir)
@@ -30,7 +30,7 @@ binary-indep: checkroot build
$(checkdir)
-rm -rf debian/tmp
install -d debian/tmp
- $(MAKE) pure_install
+ $(MAKE) pure_install
# Must have debmake installed for this to work. Otherwise please copy
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
dh_perl