blob: 8f587f4b834aff29f13384ee2ea93e3631374750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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
}
|