/[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.2 - (show annotations) (download)
Wed Aug 1 13:14:49 2012 UTC (2 years ago) by aballier
Branch: MAIN
Changes since 1.1: +6 -1 lines
run elibtoolize for sane .so versionning on g/fbsd

(Portage version: 2.2.0_alpha120/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.3.0_p20120701.ebuild,v 1.1 2012/07/25 12:00:18 aballier 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