blob: b849cb4f42b391ec90d57750aaff04cc19043711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $
EAPI="4"
inherit eutils toolchain-funcs
DESCRIPTION="A small utility that converts among Vietnamese charsets"
HOMEPAGE="http://unikey.org/"
SRC_URI="mirror://sourceforge/unikey/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {
emake CXX="$(tc-getCXX)" OPTFLAGS="${CFLAGS}" -C uvconvert
}
src_install() {
dobin uvconvert/${PN}
doman uvconv.1
dodoc readme.txt AUTHORS CREDITS changes.txt
}
|