[libfile-fcntllock-perl] 04/08: put symlinks to ::Any, ::Pure and ::Inline in vendorlib (arch-indep)
Damyan Ivanov
dmn at moszumanska.debian.org
Wed Oct 25 21:15:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch fcntl-any
in repository libfile-fcntllock-perl.
commit a541fc41c7db84a728978314b5b69f2f25485bb8
Author: Damyan Ivanov <dmn at debian.org>
Date: Wed Oct 25 21:11:39 2017 +0000
put symlinks to ::Any, ::Pure and ::Inline in vendorlib (arch-indep)
this makes the three available during major perl upgrades
---
debian/rules | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..0efb77b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,20 @@
#!/usr/bin/make -f
+TRIPLET:=$(shell dpkg-architecture -q DEB_BUILD_MULTIARCH)
+VENDOR_ARCH:=$(shell perl -MConfig -E'say $$Config{vendorarch}')
+VENDOR_LIB :=$(shell perl -MConfig -E'say $$Config{vendorlib}')
+
%:
dh $@
+
+override_dh_install:
+ dh_link \
+ $(VENDOR_ARCH)/File/FcntlLock/Pure.pm \
+ /usr/lib/$(TRIPLET)/libfile-fcntllock-perl/File/FcntlLock/Pure.pm
+ dh_link \
+ $(VENDOR_ARCH)/File/FcntlLock/Inline.pm \
+ /usr/lib/$(TRIPLET)/libfile-fcntllock-perl/File/FcntlLock/Inline.pm
+ dh_link \
+ $(VENDOR_ARCH)/File/FcntlLock/Any.pm \
+ $(VENDOR_LIB)/File/FcntlLock/Any.pm
+ dh_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-fcntllock-perl.git
More information about the Pkg-perl-cvs-commits
mailing list