diff options
author | Alexis Ballier <aballier@gentoo.org> | 2014-11-02 09:33:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2014-11-02 09:33:03 +0000 |
commit | f7b3b4ba3c2abfd8e3899b016eaf1097511be739 (patch) | |
tree | 4289ffd6a3612ffc53091c385846b7778bcacbe7 /dev-libs/ptexenc | |
parent | Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug #... (diff) | |
download | gentoo-2-f7b3b4ba3c2abfd8e3899b016eaf1097511be739.tar.gz gentoo-2-f7b3b4ba3c2abfd8e3899b016eaf1097511be739.tar.bz2 gentoo-2-f7b3b4ba3c2abfd8e3899b016eaf1097511be739.zip |
install additional headers needed by texlive 2014
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-libs/ptexenc')
-rw-r--r-- | dev-libs/ptexenc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild | 51 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-libs/ptexenc/ChangeLog b/dev-libs/ptexenc/ChangeLog index 7fb1d8d2abda..a61ea9bfc83e 100644 --- a/dev-libs/ptexenc/ChangeLog +++ b/dev-libs/ptexenc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/ptexenc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.44 2014/10/11 10:39:53 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.45 2014/11/02 09:33:03 aballier Exp $ + +*ptexenc-1.3.2_p20140525-r1 (02 Nov 2014) + + 02 Nov 2014; Alexis Ballier <aballier@gentoo.org> + +ptexenc-1.3.2_p20140525-r1.ebuild: + install additional headers needed by texlive 2014 *ptexenc-1.3.2_p20140525 (11 Oct 2014) diff --git a/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild b/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild new file mode 100644 index 000000000000..cdd42379ff01 --- /dev/null +++ b/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild,v 1.1 2014/11/02 09:33:03 aballier Exp $ + +EAPI=3 + +inherit libtool + +DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings" +HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc" +SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz" +# http://tutimura.ath.cx/~nob/tex/ptexlive/ptexenc/${P}.tar.xz + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-macos" +IUSE="iconv static-libs" + +DEPEND="iconv? ( virtual/libiconv ) + dev-libs/kpathsea" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} + +src_prepare() { + default + + # https://bugs.gentoo.org/show_bug.cgi?id=377141 + sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die + + cd "${WORKDIR}/texlive-${PV#*_p}-source" + S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd +} + +src_configure() { + econf \ + --with-system-kpathsea \ + $(use_enable static-libs static) \ + $(use_enable iconv kanji-iconv) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}" -name '*.la' -delete + + insinto /usr/include/ptexenc + doins ptexenc/unicode-jp.h + use iconv && doins ptexenc/kanjicnv.h + + dodoc ChangeLog README || die +} |