/[gentoo-x86]/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild
Gentoo

Contents of /dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed May 9 12:52:27 2012 UTC (2 years, 2 months ago) by aballier
Branch: MAIN
Changes since 1.11: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild,v 1.11 2012/05/06 16:47:38 armin76 Exp $
4
5 EAPI=3
6
7 DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings"
8 HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc"
9 SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
10 # http://tutimura.ath.cx/~nob/tex/ptexlive/ptexenc/${P}.tar.xz
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-macos"
15 IUSE="iconv static-libs"
16
17 DEPEND="iconv? ( virtual/libiconv )
18 dev-libs/kpathsea"
19 RDEPEND="${DEPEND}"
20
21 S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
22 #S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${P}
23 #src_unpack() {
24 # unpack ${A}
25 # mv "${WORKDIR}/${P}" "${S}"
26 #}
27
28 src_prepare() {
29 default
30
31 # https://bugs.gentoo.org/show_bug.cgi?id=377141
32 sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die
33 }
34
35 src_configure() {
36 econf \
37 --with-system-kpathsea \
38 $(use_enable static-libs static) \
39 $(use_enable iconv kanji-iconv)
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die
44 find "${D}" -name '*.la' -delete
45
46 dodoc ChangeLog README || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20