diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-04-13 09:16:19 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-04-13 09:17:54 +0300 |
commit | 097019d68dfaa3bfe0a22376f7ef280d8bd3683d (patch) | |
tree | 0ce8426c849b5952d46c179c73c06c422cdc13ae /dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild | |
parent | app-emacs/wgrep: add 2.3.2 (diff) | |
download | gentoo-097019d68dfaa3bfe0a22376f7ef280d8bd3683d.tar.gz gentoo-097019d68dfaa3bfe0a22376f7ef280d8bd3683d.tar.bz2 gentoo-097019d68dfaa3bfe0a22376f7ef280d8bd3683d.zip |
dev-libs/ptexenc: Version bump (v1.3.8_p20200406)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild')
-rw-r--r-- | dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild b/dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild new file mode 100644 index 000000000000..63b41c0c41da --- /dev/null +++ b/dev-libs/ptexenc/ptexenc-1.3.8_p20200406.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~sparc ~x86 ~ppc-macos ~x64-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() { + default + find "${D}" -name '*.la' -delete || die + + insinto /usr/include/ptexenc + doins ptexenc/unicode-jp.h + use iconv && doins ptexenc/kanjicnv.h + + dodoc ChangeLog README +} |