| # Copyright 1999-2009 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/dev-libs/chmlib/chmlib-0.40.ebuild,v 1.6 2009/10/12 19:20:04 jer Exp $ |
| |
| inherit eutils multilib flag-o-matic versionator |
| |
| DESCRIPTION="Library for MS CHM (compressed html) file format plus extracting and http server utils" |
| HOMEPAGE="http://www.jedrea.com/chmlib/" |
| SRC_URI="http://www.jedrea.com/${PN}/${P}.tar.bz2" |
| |
| LICENSE="LGPL-2.1" |
| SLOT="0" |
| KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 x86" |
| IUSE="" |
| |
| src_unpack() { |
| unpack ${A} |
| cd "${S}" |
| epatch "${FILESDIR}"/${PN}-0.39-stdtypes.patch |
| epatch "${FILESDIR}"/${P}-headers.patch |
| } |
| |
| src_compile() { |
| econf --enable-examples || die "econf failed" |
| emake || die |
| } |
| |
| src_install() { |
| emake install DESTDIR="${D}" || die |
| dodoc AUTHORS NEWS README |
| } |