diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-05 14:53:38 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-05 15:02:44 +0200 |
commit | 9d0415b62abde39ff46ecf06c12f8b2fd0f6499c (patch) | |
tree | 794935eb619a518f011d8bd5c5437a05db5e289b /dev-libs/ptexenc | |
parent | dev-libs/kpathsea: bump to texlive 2017 version (diff) | |
download | gentoo-9d0415b62abde39ff46ecf06c12f8b2fd0f6499c.tar.gz gentoo-9d0415b62abde39ff46ecf06c12f8b2fd0f6499c.tar.bz2 gentoo-9d0415b62abde39ff46ecf06c12f8b2fd0f6499c.zip |
dev-libs/ptexenc: bump to texlive 2017 version
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-libs/ptexenc')
-rw-r--r-- | dev-libs/ptexenc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/ptexenc/Manifest b/dev-libs/ptexenc/Manifest index 11f25e2bb2a0..d0c46fb36425 100644 --- a/dev-libs/ptexenc/Manifest +++ b/dev-libs/ptexenc/Manifest @@ -1 +1,2 @@ DIST texlive-20160523-source.tar.xz 45941100 SHA256 a8b32ca47f0a403661a09e202f4567a995beb718c18d8f81ca6d76daa1da21ed SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e WHIRLPOOL 25d27fb7a7bdb47d40ddf951394e36546b184d71f2e09adb20698bd0f960e54841ddd0313a87510cb2ef43953eb4d9d05d30b88d25d15762dd774575c88fedbe +DIST texlive-20170524-source.tar.xz 63483372 SHA256 0161695304e941334dc0b3b5dabcf8edf46c09b7bc33eea8229b5ead7ccfb2aa SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa WHIRLPOOL c4edaf427f0249942b36db105a65474e833735d6e9954682fe7e15ab327b26ccafb9174bf806d0b6c629b0f2a6b55e80022af291d9a2f377b82dff4fdec42d3d diff --git a/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild b/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild new file mode 100644 index 000000000000..34c4e3b90671 --- /dev/null +++ b/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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 ~arm64 ~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 + find "${D}" -name '*.la' -delete + + insinto /usr/include/ptexenc + doins ptexenc/unicode-jp.h + use iconv && doins ptexenc/kanjicnv.h + + dodoc ChangeLog README +} |