blob: 744f0605ccb4132f073331965107b26c491bc4de (
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
32
33
34
35
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz++/yaz++-0.9.ebuild,v 1.3 2005/07/20 11:04:41 dholm Exp $
inherit eutils
DESCRIPTION="C++ addon for the yaz development libraries"
HOMEPAGE="http://www.indexdata.dk/yazplusplus"
SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz"
LICENSE="YAZ"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
RDEPEND="dev-libs/yaz"
DEPEND="${RDEPEND}
sys-devel/autoconf"
src_unpack() {
unpack ${A}
cd ${S}
autoconf || die "autoconf failed"
}
src_compile() {
econf --enable-shared || die "econf failed"
emake || die "emake failed"
}
src_install() {
docdir="/usr/share/doc/${PF}"
make DESTDIR="${D}" docdir="${docdir}" install || die "einstall failed"
docinto html
mv -f ${D}${docdir}/*.{html,css,png} ${D}${docdir}/html/ || die "Failed to move HTML docs"
}
|