uvconv-1.1.3b-r1.ebuild 659 B

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