/[gentoo-x86]/dev-libs/ptexenc/ptexenc-1.3.0_p20120701.ebuild
Gentoo

Contents of /dev-libs/ptexenc/ptexenc-1.3.0_p20120701.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Apr 25 21:25:58 2013 UTC (17 months, 4 weeks ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
Stable for sh, wrt bug #449298

(Portage version: 2.1.11.55/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 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.3.0_p20120701.ebuild,v 1.12 2013/04/22 08:03:56 ago Exp $
4
5 EAPI=3
6
7 inherit libtool
8
9 DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings"
10 HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc"
11 SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
12 # http://tutimura.ath.cx/~nob/tex/ptexlive/ptexenc/${P}.tar.xz
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-macos"
17 IUSE="iconv static-libs"
18
19 DEPEND="iconv? ( virtual/libiconv )
20 dev-libs/kpathsea"
21 RDEPEND="${DEPEND}"
22
23 S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
24
25 src_prepare() {
26 default
27
28 # https://bugs.gentoo.org/show_bug.cgi?id=377141
29 sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die
30
31 cd "${WORKDIR}/texlive-${PV#*_p}-source"
32 S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
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