blob: 0b3743331f7e9b35c6aa55dda0af4a9570580039 (
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.1 2009/05/24 23:29:55 dirtyepic 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
}
|