/[gentoo-x86]/dev-tex/hyphen_show/hyphen_show-20000425.ebuild
Gentoo

Diff of /dev-tex/hyphen_show/hyphen_show-20000425.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-tex/hyphen_show/hyphen_show-20000425.ebuild,v 1.5 2008/09/19 01:12:16 ranger Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-tex/hyphen_show/hyphen_show-20000425.ebuild,v 1.6 2010/09/04 17:41:54 ulm Exp $
4 4
5inherit eutils toolchain-funcs 5inherit eutils toolchain-funcs
6 6
7MY_PN=${PN//_/-} 7MY_PN=${PN//_/-}
8DESCRIPTION="Show hyphenations in DVI files" 8DESCRIPTION="Show hyphenations in DVI files"
11 11
12LICENSE="GPL-2" 12LICENSE="GPL-2"
13SLOT="0" 13SLOT="0"
14KEYWORDS="amd64 ~ppc64 x86" 14KEYWORDS="amd64 ~ppc64 x86"
15IUSE="" 15IUSE=""
16DEPEND="" 16
17S=${WORKDIR}/${MY_PN}-${PV} 17S=${WORKDIR}/${MY_PN}-${PV}
18 18
19src_unpack() { 19src_unpack() {
20 unpack ${A} 20 unpack ${A}
21 epatch "${FILESDIR}"/${PN}-gcc34.patch 21 epatch "${FILESDIR}"/${PN}-gcc34.patch
22} 22}
23 23
24src_compile() { 24src_compile() {
25 $(tc-getCC) ${CFLAGS} hyphen_show.c \ 25 $(tc-getCC) ${CFLAGS} ${LDFLAGS} hyphen_show.c -o hyphen_show || die
26 -o hyphen_show || die "Compilation failed"
27} 26}
28 27
29src_install() { 28src_install() {
30 dobin hyphen_show 29 dobin hyphen_show || die
31 doman hyphen_show.1 30 doman hyphen_show.1 || die
32 dodoc README.hyphen_show 31 dodoc README.hyphen_show || die
33} 32}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20