diff options
Diffstat (limited to 'dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild')
-rw-r--r-- | dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild b/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild new file mode 100644 index 000000000000..ab262f556fd5 --- /dev/null +++ b/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 /usr)/$(get_libdir)/libpcre.so.1 \ + /usr/$(get_libdir)/debiancompat/libpcre.so.3 + + dosym /usr/$(get_libdir)/libpcreposix.so.0 \ + /usr/$(get_libdir)/debiancompat/libpcreposix.so.3 +} |