summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-03-07 21:22:03 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-03-07 21:45:00 +0000
commit3e62ccf40ace4f3971f083e919ba3aab6212d982 (patch)
treebdcdef0df194b6a6560f06c883614d0cd317fdb7 /dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild
parentmedia-video/makemkv: Restrict redistribution (diff)
downloadgentoo-3e62ccf40ace4f3971f083e919ba3aab6212d982.tar.gz
gentoo-3e62ccf40ace4f3971f083e919ba3aab6212d982.tar.bz2
gentoo-3e62ccf40ace4f3971f083e919ba3aab6212d982.zip
dev-libs/libpcre-debian: Create relative instead of absolute symlinks
Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild')
-rw-r--r--dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild b/dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild
new file mode 100644
index 00000000000..377aa75f7c8
--- /dev/null
+++ b/dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib multilib-minimal
+
+DESCRIPTION="libpcre(posix).so.3 symlinks for compatibility with Debian"
+HOMEPAGE="http://www.pcre.org/"
+LICENSE="BSD"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/libpcre:${SLOT}[${MULTILIB_USEDEP}]"
+
+S="${WORKDIR}"
+
+multilib_src_install() {
+ dosym ../$(multilib_is_native_abi && echo ../../$(get_libdir)/)libpcre.so.1 \
+ /usr/$(get_libdir)/debiancompat/libpcre.so.3
+
+ dosym ../libpcreposix.so.0 \
+ /usr/$(get_libdir)/debiancompat/libpcreposix.so.3
+}