summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2011-08-13 13:25:59 +0000
committerAkinori Hattori <hattya@gentoo.org>2011-08-13 13:25:59 +0000
commitbf612d258b36b5514d1e8c71824782936d6364a9 (patch)
treecea0d1fcf807f8425ba3bf6f9831d88db52bb2d3 /media-libs/compface/compface-1.5.1.ebuild
parentbump to pl2 (diff)
downloadhistorical-bf612d258b36b5514d1e8c71824782936d6364a9.tar.gz
historical-bf612d258b36b5514d1e8c71824782936d6364a9.tar.bz2
historical-bf612d258b36b5514d1e8c71824782936d6364a9.zip
update to EAPI 4.
Package-Manager: portage-2.1.10.3/cvs/Linux i686
Diffstat (limited to 'media-libs/compface/compface-1.5.1.ebuild')
-rw-r--r--media-libs/compface/compface-1.5.1.ebuild29
1 files changed, 11 insertions, 18 deletions
diff --git a/media-libs/compface/compface-1.5.1.ebuild b/media-libs/compface/compface-1.5.1.ebuild
index 103c58406b54..ffd2e2554eda 100644
--- a/media-libs/compface/compface-1.5.1.ebuild
+++ b/media-libs/compface/compface-1.5.1.ebuild
@@ -1,36 +1,29 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.5.1.ebuild,v 1.12 2007/02/17 17:26:13 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.5.1.ebuild,v 1.13 2011/08/13 13:25:59 hattya Exp $
-inherit eutils
+EAPI="4"
-IUSE=""
+inherit autotools eutils
DESCRIPTION="Utilities and library to convert to/from X-Face format"
HOMEPAGE="http://www.xemacs.org/Download/optLibs.html"
SRC_URI="http://ftp.xemacs.org/pub/xemacs/aux/${P}.tar.gz"
LICENSE="MIT"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE=""
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
sed -i "s:\r::" Makefile.in xbm2xface.pl
- epatch ${FILESDIR}/${P}-destdir.diff
- WANT_AUTOCONF=2.5 autoconf
-
+ epatch "${FILESDIR}"/${P}-destdir.diff
+ eautoreconf
}
src_install() {
-
dodir /usr/share/man/man{1,3} /usr/{bin,include,$(get_libdir)}
- emake DESTDIR="${D}" install || die
-
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog README
newbin xbm2xface{.pl,}
- dodoc README ChangeLog
-
}