mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/ptexenc: bump to texlive 2017 version
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
parent
e8e619ca80
commit
9d0415b62a
@ -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
|
||||
|
||||
50
dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild
Normal file
50
dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user