# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/uulib/uulib-0.5.20-r1.ebuild,v 1.2 2014/10/11 20:19:46 zlogene Exp $ EAPI=5 inherit eutils toolchain-funcs MY_P=uudeview-${PV} DESCRIPTION="Library that supports Base64 (MIME), uuencode, xxencode and binhex coding" HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/" SRC_URI="http://www.fpx.de/fp/Software/UUDeview/download/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" S=${WORKDIR}/${MY_P}/${PN} src_prepare() { epatch "${FILESDIR}/${P}-shared.patch" sed -i 's:\:$(AR):' Makefile.in || die tc-export AR CC RANLIB }