You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/libemf/libemf-1.0.4.ebuild

37 lines
908 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libemf/libemf-1.0.4.ebuild,v 1.7 2010/10/18 09:58:21 jlec Exp $
EAPI=2
inherit autotools eutils
MY_P="${P/emf/EMF}"
DESCRIPTION="Library implementation of ECMA-234 API for the generation of enhanced metafiles."
HOMEPAGE="http://libemf.sourceforge.net/"
SRC_URI="mirror://sourceforge/libemf/${MY_P}.tar.gz"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc"
DEPEND=""
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-amd64-alpha.patch
eautoreconf # or libtool tries to link against the gcc it was built with
}
src_configure() {
econf --enable-editing
}
src_install() {
emake DESTDIR="${D}" install || die
use doc && dohtml doc/html/*
dodoc README NEWS AUTHORS ChangeLog
}