diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-05-30 13:35:43 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-05-30 13:37:15 +0300 |
commit | 4b27fe7efd9dba30a036ef3816318ebb17a07b30 (patch) | |
tree | 490f08f2ebd11f45944d8af95c550d954f2d23f6 /dev-libs | |
parent | app-text/texlive-core: Version bump (v2019) (diff) | |
download | gentoo-4b27fe7efd9dba30a036ef3816318ebb17a07b30.tar.gz gentoo-4b27fe7efd9dba30a036ef3816318ebb17a07b30.tar.bz2 gentoo-4b27fe7efd9dba30a036ef3816318ebb17a07b30.zip |
dev-libs/ptexenc: Version bump (v1.3.7)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ptexenc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ptexenc/ptexenc-1.3.7_p20190410.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/ptexenc/Manifest b/dev-libs/ptexenc/Manifest index 8052ec12d039..0c5f2e4c78df 100644 --- a/dev-libs/ptexenc/Manifest +++ b/dev-libs/ptexenc/Manifest @@ -1,2 +1,3 @@ DIST texlive-20160523-source.tar.xz 45941100 BLAKE2B 8752212d41d6bbabc725d9b1dcc187dd4dbb34df4271c768e83c13a2dd4e7170aa162d01a15d87fa02bc1b5abee648a2d35e3aa1380569851cc21d6f33f2f109 SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e DIST texlive-20170524-source.tar.xz 63483372 BLAKE2B 44669d1228f5be27e9d93672a4f4ead40f7f4c6cf386f2db6fef54d64f8b8a743a485fe1170904d8117b9745f71ec77db8434caa6cdd79359b1f3f387130a3b4 SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa +DIST texlive-20190410-source.tar.xz 53783408 BLAKE2B 8e34c7c2b74eab1c4d16ddbf7eddd8566593e6d68c42a2634760f11d86e68970698d8b9deddcf3297966968ede11ecf30e0b04ec19b708dc3e6d0a2abcc3799d SHA512 7759d8e668e53c0c73e48907096da9d8fb6384dd9c3342ddfb05e17d077054c5351d35256cf4e63a6da502de2f09f521979bede7209cdd5bd8ae80eba0efed2e diff --git a/dev-libs/ptexenc/ptexenc-1.3.7_p20190410.ebuild b/dev-libs/ptexenc/ptexenc-1.3.7_p20190410.ebuild new file mode 100644 index 000000000000..2539ee1a51e8 --- /dev/null +++ b/dev-libs/ptexenc/ptexenc-1.3.7_p20190410.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 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 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~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 + + insinto /usr/include/ptexenc + doins ptexenc/unicode-jp.h + use iconv && doins ptexenc/kanjicnv.h + + dodoc ChangeLog README +} |