/[gentoo-x86]/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
Gentoo

Diff of /app-text/uvconv/uvconv-1.1.3b-r1.ebuild

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

Revision 1.4 Revision 1.5
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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/app-text/uvconv/uvconv-1.1.3b-r1.ebuild,v 1.4 2012/06/14 09:16:18 ago Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-text/uvconv/uvconv-1.1.3b-r1.ebuild,v 1.5 2013/02/27 12:37:25 hattya Exp $
4
5EAPI="4"
4 6
5inherit eutils toolchain-funcs 7inherit eutils toolchain-funcs
6 8
7DESCRIPTION="A small utility that converts among Vietnamese charsets" 9DESCRIPTION="A small utility that converts among Vietnamese charsets"
8HOMEPAGE="http://unikey.org/" 10HOMEPAGE="http://unikey.org/"
9SRC_URI="mirror://sourceforge/unikey/${P}.tar.gz" 11SRC_URI="mirror://sourceforge/unikey/${P}.tar.gz"
10 12
11LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0"
12KEYWORDS="amd64 x86" 15KEYWORDS="amd64 x86"
13SLOT="0"
14IUSE="" 16IUSE=""
15 17
16S="${WORKDIR}/${PN}" 18S="${WORKDIR}/${PN}"
17 19
18src_unpack() { 20src_prepare() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}/${P}-gcc43.patch" \ 21 epatch "${FILESDIR}"/${P}-gcc43.patch
22 "${FILESDIR}"/${P}-ldflags.patch 22 epatch "${FILESDIR}"/${P}-ldflags.patch
23} 23}
24 24
25src_compile() { 25src_compile() {
26 emake CXX="$(tc-getCXX)" OPTFLAGS="${CFLAGS}" -C uvconvert || die 26 emake CXX="$(tc-getCXX)" OPTFLAGS="${CFLAGS}" -C uvconvert
27} 27}
28 28
29src_install () { 29src_install() {
30 dobin uvconvert/${PN} 30 dobin uvconvert/${PN}
31 doman uvconv.1 31 doman uvconv.1
32 dodoc readme.txt AUTHORS CREDITS changes.txt 32 dodoc readme.txt AUTHORS CREDITS changes.txt
33} 33}

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

  ViewVC Help
Powered by ViewVC 1.1.20